diff options
author | Rob Austein <sra@hactrn.net> | 2011-10-05 16:30:24 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2011-10-05 16:30:24 +0000 |
commit | 72e42a6508ff19a315a0257dda4a710bc195dffa (patch) | |
tree | 34785d51be76bdb31b72784dd527125145b1ebc9 /rpkid/rpki/cli.py | |
parent | 03d8dcaf85e21fe621f020c4fb34fdecb6ac4cca (diff) |
Add global traceback control; this closes #95. Clean up some
"except:" clauses that should have been "except Exception:".
svn path=/rpkid/rpki-sql-setup.py; revision=4014
Diffstat (limited to 'rpkid/rpki/cli.py')
-rw-r--r-- | rpkid/rpki/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/rpki/cli.py b/rpkid/rpki/cli.py index d31f7204..10b4edb3 100644 --- a/rpkid/rpki/cli.py +++ b/rpkid/rpki/cli.py @@ -3,7 +3,7 @@ Utilities for writing command line tools. $Id$ -Copyright (C) 2010 Internet Systems Consortium ("ISC") +Copyright (C) 2010--2011 Internet Systems Consortium ("ISC") Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -55,7 +55,7 @@ class Cmd(cmd.Cmd): return cmd.Cmd.onecmd(self, line) except SystemExit: raise - except: + except Exception: traceback.print_exc() def do_EOF(self, arg): |