commit | 4868b4b3fb6bd2e95c0cf8f751fa2bfbded6e637 | [log] [tgz] |
---|---|---|
author | Jenkins <jenkins@review.openstack.org> | Thu Feb 07 10:47:01 2013 +0000 |
committer | Gerrit Code Review <review@openstack.org> | Thu Feb 07 10:47:01 2013 +0000 |
tree | 5a0bc8f7167fd66fb589ece2a0ebc95ff1216f07 | |
parent | d1dad5ac430de68b2506df00b67c05a22bab9320 [diff] | |
parent | 7682cde0015a10b6e546af6bc053828f50f85c2a [diff] |
Merge "Sync latest install_venv_common from oslo."
diff --git a/tools/install_venv_common.py b/tools/install_venv_common.py index 3dbcafe..8b676bf 100644 --- a/tools/install_venv_common.py +++ b/tools/install_venv_common.py
@@ -25,6 +25,13 @@ import subprocess import sys + +possible_topdir = os.getcwd() +if os.path.exists(os.path.join(possible_topdir, "tempest", + "__init__.py")): + sys.path.insert(0, possible_topdir) + + from tempest.openstack.common import cfg