will be used by topology

Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 ryu/lib/hub.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ryu/lib/hub.py b/ryu/lib/hub.py
index 7ff1db1..1e5ba20 100644
--- a/ryu/lib/hub.py
+++ b/ryu/lib/hub.py
@@ -31,6 +31,7 @@ if HUB_TYPE == 'gevent':
     import gevent.queue
 
     spawn = gevent.spawn
+    getcurrent = gevent.getcurrent
     patch = gevent.monkey.patch_all
     sleep = gevent.sleep
     kill = gevent.kill
@@ -58,6 +59,7 @@ elif HUB_TYPE == 'eventlet':
     import ssl
 
     spawn = eventlet.spawn
+    getcurrent = eventlet.getcurrent
     patch = eventlet.monkey_patch
     sleep = eventlet.sleep
 
-- 
1.8.0.1


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to