projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73702ee
)
Fix a wrong exception name
author
Iustin Pop
<iustin@google.com>
Tue, 9 Oct 2007 09:13:56 +0000
(09:13 +0000)
committer
Iustin Pop
<iustin@google.com>
Tue, 9 Oct 2007 09:13:56 +0000
(09:13 +0000)
This was introduced in rev 208.
Reviewed-by: imsnah
lib/cli.py
patch
|
blob
|
history
diff --git
a/lib/cli.py
b/lib/cli.py
index
08a9064
..
5eaa390
100644
(file)
--- a/
lib/cli.py
+++ b/
lib/cli.py
@@
-60,7
+60,7
@@
def _ExtractTagsObject(opts, args):
retval = kind, kind
elif kind == constants.TAG_NODE or kind == constants.TAG_INSTANCE:
if not args:
- raise errors.OpPrereq("no arguments passed to the command")
+ raise errors.OpPrereqError("no arguments passed to the command")
name = args.pop(0)
retval = kind, name
else: