don't print the error message on sys.exit(0)

This commit is contained in:
Vishvananda Ishaya
2011-03-29 13:43:03 -07:00
parent 55ed6ea207
commit f1f0af4539

View File

@@ -1125,7 +1125,7 @@ def main():
print _("Possible wrong number of arguments supplied")
print "%s %s: %s" % (category, action, fn.__doc__)
raise
except:
except Exception:
print _("Command failed, please check log for more info")
raise