Permalink
Browse files

Fixed some exception handling code for py3k

  • Loading branch information...
1 parent 056f597 commit 2e90698123f7c6bc7c0b582787d38740cc87723d @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 2e90698

Please sign in to comment.