diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-11-20 13:29:03 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-11-20 13:29:03 +0100 |
commit | cfc066967813d2e6a93de14136500e32b0c5da0c (patch) | |
tree | b5f830e47b601ff6f3a19a3759c1e436858c2341 | |
parent | 5de966792573ec6623f19e367f9f3bbf19dc4090 (diff) | |
download | aioeventlet-cfc066967813d2e6a93de14136500e32b0c5da0c.tar.gz |
Force a call to set_debug() to set hub.debug_blocking
-rw-r--r-- | aiogreen.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/aiogreen.py b/aiogreen.py index 5f722cf..52f64c8 100644 --- a/aiogreen.py +++ b/aiogreen.py @@ -191,6 +191,9 @@ class EventLoop(base_events.BaseEventLoop): # that we always use the same hub self._hub = eventlet.hubs.get_hub() + # Force a call to set_debug() to set hub.debug_blocking + self.set_debug(self.get_debug()) + self._ssock = None self._csock = None self._make_self_pipe() |