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/async.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/async.py')
-rw-r--r-- | rpkid/rpki/async.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/rpki/async.py b/rpkid/rpki/async.py index 2f0ea15f..a7de6b25 100644 --- a/rpkid/rpki/async.py +++ b/rpkid/rpki/async.py @@ -3,7 +3,7 @@ Utilities for event-driven programming. $Id$ -Copyright (C) 2009--2010 Internet Systems Consortium ("ISC") +Copyright (C) 2009--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 @@ -51,7 +51,7 @@ class iterator(object): self.iterator = iter(iterable) except (ExitNow, SystemExit): raise - except: + except Exception: rpki.log.debug("Problem constructing iterator for %r" % (iterable,)) raise self.doit() |