Skip to content

Commit 20fea88

Browse files
Remove workaround for eventlet < 0.27.0
This code worked around a bug in eventlet[1] that has been fixed in 115103d5608cbe8f15df10e27eba1644f5364e95. The fix has been available in every eventlet release since v0.27.0. [1] eventlet/eventlet#592 Also remove the note about old pip's behavior because recent pip does not require specific order in requirements files. Co-Authored-By: Cyril Roelandt <[email protected]> Change-Id: I5929bc35c3ffd8ad4d3088cb957eb6a47d3905d2
1 parent 5c8062f commit 20fea88

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

magnum/cmd/__init__.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,3 @@
1818
import eventlet
1919

2020
eventlet.monkey_patch()
21-
# Monkey patch the original current_thread to use the up-to-date _active
22-
# global variable. See https://bugs.launchpad.net/bugs/1863021 and
23-
# https://github.com/eventlet/eventlet/issues/592
24-
import __original_module_threading as orig_threading # noqa
25-
import threading # noqa
26-
orig_threading.current_thread.__globals__['_active'] = threading._active

0 commit comments

Comments
 (0)