summaryrefslogtreecommitdiff
path: root/eventlet/debug.py
diff options
context:
space:
mode:
authorRyan Williams <rdw@lindenlab.com>2010-01-21 00:37:03 -0500
committerRyan Williams <rdw@lindenlab.com>2010-01-21 00:37:03 -0500
commite60a78444c0be333f49232ebc9bcab0be261e35a (patch)
tree5bd58a26157f2eedd804351c7dc5b11dcd1ee2f1 /eventlet/debug.py
parent5b8acc850fe8ac2becc79c9053db1ac9e0ca6296 (diff)
downloadeventlet-e60a78444c0be333f49232ebc9bcab0be261e35a.tar.gz
Added debug control over exceptions in greenpool, benchmarks directory.
Diffstat (limited to 'eventlet/debug.py')
-rw-r--r--eventlet/debug.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/eventlet/debug.py b/eventlet/debug.py
index 87a1d0e..f80494c 100644
--- a/eventlet/debug.py
+++ b/eventlet/debug.py
@@ -92,6 +92,8 @@ def hub_exceptions(state):
"""
from eventlet import hubs
hubs.get_hub().set_timer_exceptions(state)
+ from eventlet import greenpool
+ greenpool.DEBUG = state
def tpool_exceptions(state):
"""Toggles whether tpool itself prints exceptions that are raised from