Don't show the usage message for "domain does not exist" errors.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2007-03-10 19:57:35 +00:00
1 parent e07fd1a3da
commit 6c6d5f75de
1 file changed
+1 -1
+1 -1
View File
@@ -1892,7 +1892,7 @@ def _run_cmd(cmd, cmd_name, args):
err("Domain '%s' does not exist." % ex.faultString)
else:
err(ex.faultString)
_usage(cmd_name)
_usage(cmd_name)
except xmlrpclib.ProtocolError, ex:
if ex.errcode == -1:
print >>sys.stderr, (
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.