Skip to content
Snippets Groups Projects
Commit 0c434948 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix a wrong exception name

This was introduced in rev 208.

Reviewed-by: imsnah
parent 73702ee7
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment