summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Shepelev <temotor@gmail.com>2014-08-28 09:36:32 +0400
committerSergey Shepelev <temotor@gmail.com>2014-08-28 09:36:32 +0400
commit3d89eef5d007b38fcdd7514abfd3c6aedeb30474 (patch)
tree07f07f4ee5596e974f8e83d604586606318f62e5
parentd4d09ac622cc5885f805d9f7d91632f1c33ca8b2 (diff)
downloadeventlet-hub-catch-exception.tar.gz
-rw-r--r--eventlet/hubs/hub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/eventlet/hubs/hub.py b/eventlet/hubs/hub.py
index c4906c5..12ef166 100644
--- a/eventlet/hubs/hub.py
+++ b/eventlet/hubs/hub.py
@@ -281,7 +281,7 @@ class BaseHub(object):
if switch_out is not None:
try:
switch_out()
- except:
+ except Exception:
self.squelch_generic_exception(sys.exc_info())
self.ensure_greenlet()
try: