Merge "Import "oslo_config.cfg" before "eventlet"" into stable/train

This commit is contained in:
Zuul 2020-10-30 22:01:59 +00:00 committed by Gerrit Code Review
commit ace5404dc5
2 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,8 @@
import sys
from oslo_config import cfg # noqa
from neutron.common import eventlet_utils
from neutron.tests.common.agents import l3_agent

View File

@ -20,7 +20,7 @@ from __future__ import print_function
import sys
import eventlet
from oslo_config import cfg # noqa
def print_binary_name():
@ -33,6 +33,9 @@ def print_binary_name():
if __name__ == "__main__":
import eventlet
if 'spawn' in sys.argv:
eventlet.spawn(print_binary_name).wait()
else: