Revision 6bc3ed14 lib/cli.py
b/lib/cli.py | ||
---|---|---|
445 | 445 |
if not args: |
446 | 446 |
raise errors.OpPrereqError("No tags to be added") |
447 | 447 |
op = opcodes.OpTagsSet(kind=kind, name=name, tags=args) |
448 |
SubmitOpCode(op, opts=opts)
|
|
448 |
SubmitOrSend(op, opts)
|
|
449 | 449 |
|
450 | 450 |
|
451 | 451 |
def RemoveTags(opts, args): |
... | ... | |
462 | 462 |
if not args: |
463 | 463 |
raise errors.OpPrereqError("No tags to be removed") |
464 | 464 |
op = opcodes.OpTagsDel(kind=kind, name=name, tags=args) |
465 |
SubmitOpCode(op, opts=opts)
|
|
465 |
SubmitOrSend(op, opts)
|
|
466 | 466 |
|
467 | 467 |
|
468 | 468 |
def check_unit(option, opt, value): # pylint: disable=W0613 |
Also available in: Unified diff