Skip to content

Commit 50ceef8

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Sync latest openstack-common."
2 parents b26cb5b + b675ca4 commit 50ceef8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tools/install_venv_common.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
import subprocess
2626
import sys
2727

28+
29+
possible_topdir = os.getcwd()
30+
if os.path.exists(os.path.join(possible_topdir, "openstackclient",
31+
"__init__.py")):
32+
sys.path.insert(0, possible_topdir)
33+
34+
2835
from openstackclient.openstack.common import cfg
2936

3037

0 commit comments

Comments
 (0)