Merge "Remove workaround for eventlet <0.22.0"
This commit is contained in:
commit
1c4aa9d31f
@ -25,12 +25,6 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
import eventlet
|
import eventlet
|
||||||
# NOTE(jokke): As per the eventlet commit
|
|
||||||
# b756447bab51046dfc6f1e0e299cc997ab343701 there's circular import happening
|
|
||||||
# which can be solved making sure the hubs are properly and fully imported
|
|
||||||
# before calling monkey_patch(). This is solved in eventlet 0.22.0 but we
|
|
||||||
# need to address it before that is widely used around.
|
|
||||||
eventlet.hubs.get_hub()
|
|
||||||
|
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
# eventlet monkey patching the os module causes subprocess.Popen to fail
|
# eventlet monkey patching the os module causes subprocess.Popen to fail
|
||||||
|
@ -23,12 +23,6 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
import eventlet
|
import eventlet
|
||||||
# NOTE(jokke): As per the eventlet commit
|
|
||||||
# b756447bab51046dfc6f1e0e299cc997ab343701 there's circular import happening
|
|
||||||
# which can be solved making sure the hubs are properly and fully imported
|
|
||||||
# before calling monkey_patch(). This is solved in eventlet 0.22.0 but we
|
|
||||||
# need to address it before that is widely used around.
|
|
||||||
eventlet.hubs.get_hub()
|
|
||||||
|
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
# eventlet monkey patching the os module causes subprocess.Popen to fail
|
# eventlet monkey patching the os module causes subprocess.Popen to fail
|
||||||
|
@ -17,12 +17,6 @@ import builtins
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
import eventlet
|
import eventlet
|
||||||
# NOTE(jokke): As per the eventlet commit
|
|
||||||
# b756447bab51046dfc6f1e0e299cc997ab343701 there's circular import happening
|
|
||||||
# which can be solved making sure the hubs are properly and fully imported
|
|
||||||
# before calling monkey_patch(). This is solved in eventlet 0.22.0 but we
|
|
||||||
# need to address it before that is widely used around.
|
|
||||||
eventlet.hubs.get_hub()
|
|
||||||
|
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
# eventlet monkey patching the os module causes subprocess.Popen to fail
|
# eventlet monkey patching the os module causes subprocess.Popen to fail
|
||||||
|
Loading…
x
Reference in New Issue
Block a user