From 0c4349481f9406d03e68e53b2904adb89111b236 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Tue, 9 Oct 2007 09:13:56 +0000 Subject: [PATCH] Fix a wrong exception name This was introduced in rev 208. Reviewed-by: imsnah --- lib/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli.py b/lib/cli.py index 08a9064d6..5eaa3907f 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: -- GitLab