Permalink
Browse files

Fixed some exception handling code for py3k

  • Loading branch information...
1 parent f21a30f commit 71ef0639b48384b15af074a876df316aed604ff7 @bgw bgw committed Apr 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 ircutils/events.py
View
@@ -171,8 +171,8 @@ def activate_handlers(self, *args):
for p, handler in self.handlers:
try:
handler(*args)
- except e as ex:
- traceback.print_exc(ex)
+ except:
+ traceback.print_exc()
self.handlers.remove((p, handler))
def notify(self, client, event):

0 comments on commit 71ef063

Please sign in to comment.