From 72e42a6508ff19a315a0257dda4a710bc195dffa Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 5 Oct 2011 16:30:24 +0000 Subject: 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 --- rpkid/rpki/async.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpkid/rpki/async.py') 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() -- cgit v1.2.3