Revision 0c434948 lib/cli.py
b/lib/cli.py | ||
---|---|---|
60 | 60 |
retval = kind, kind |
61 | 61 |
elif kind == constants.TAG_NODE or kind == constants.TAG_INSTANCE: |
62 | 62 |
if not args: |
63 |
raise errors.OpPrereq("no arguments passed to the command") |
|
63 |
raise errors.OpPrereqError("no arguments passed to the command")
|
|
64 | 64 |
name = args.pop(0) |
65 | 65 |
retval = kind, name |
66 | 66 |
else: |
Also available in: Unified diff