Merge "Remove workaround for eventlet < 0.27.0"

This commit is contained in:
Zuul 2024-09-28 05:03:54 +00:00 committed by Gerrit Code Review
commit 8c6ad0f49e

View File

@ -22,10 +22,3 @@ def monkey_patch():
p_c_e = importutils.import_module('pyroute2.config.asyncio')
p_c_e.asyncio_config()
# Monkey patch the original current_thread to use the up-to-date _active
# global variable. See https://bugs.launchpad.net/bugs/1863021 and
# https://github.com/eventlet/eventlet/issues/592
# pylint: disable=import-outside-toplevel
import __original_module_threading as orig_threading
import threading # noqa
orig_threading.current_thread.__globals__['_active'] = threading._active