Notifications

This commit is contained in:
Ruud
2011-04-09 20:18:51 +02:00
parent 288aa8c0a1
commit 85fc1c01ee
67 changed files with 3270 additions and 400 deletions
+3 -1
View File
@@ -179,10 +179,12 @@ class Event(object):
if not self.asynchronous:
self.result.append(tuple(r))
except Exception:
except Exception, e:
if not self.asynchronous:
self.result.append((False, self._error(sys.exc_info()),
handler))
else:
self.error_handler(sys.exc_info())
finally:
if isinstance(self.lock, threading._RLock):
self.lock.release()