From: Iustin Pop Date: Tue, 9 Oct 2007 09:13:56 +0000 (+0000) Subject: Fix a wrong exception name X-Git-Tag: v1.2b2~150 X-Git-Url: https://code.grnet.gr/git/ganeti-local/commitdiff_plain/0c4349481f9406d03e68e53b2904adb89111b236 Fix a wrong exception name This was introduced in rev 208. Reviewed-by: imsnah --- diff --git a/lib/cli.py b/lib/cli.py index 08a9064..5eaa390 100644 --- 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: