Mercurial > bitten > bitten-test
changeset 386:4cf556eb1cf1
Still allow keyboard interrupts to stop the slave.
author | cmlenz |
---|---|
date | Thu, 26 Jul 2007 19:35:00 +0000 |
parents | dcd5b4b3a7dd |
children | 7cd9a26134f5 |
files | bitten/util/beep.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/bitten/util/beep.py +++ b/bitten/util/beep.py @@ -136,12 +136,12 @@ break try: callback() - except: + except Exception: log.error('Exception caught firing callback %s. ' 'Ignoring.', callback.__name__) - try: + try: asyncore.loop(timeout, True, None, 1) - except: + except Exception: log.error('Exception caught in asyncore.loop, ignoring.'); except: log.error('Exception caught in run()');