diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-02-06 17:41:17 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-02-06 17:41:17 +0000 |
| commit | 50ceef8fb71028474edad654db963f8b1f061dca (patch) | |
| tree | 124dd671fafc6e0a9decdf7ca238ca0f8648e66e /tools | |
| parent | b26cb5bf683e7f4f03d9704524a188b76ac5e9b9 (diff) | |
| parent | b675ca4f7f254dd24ee9091dcbdf74b2b9d7aa3b (diff) | |
| download | python-openstackclient-50ceef8fb71028474edad654db963f8b1f061dca.tar.gz | |
Merge "Sync latest openstack-common."
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/install_venv_common.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/install_venv_common.py b/tools/install_venv_common.py index a92e4ab8..5cef2555 100644 --- a/tools/install_venv_common.py +++ b/tools/install_venv_common.py @@ -25,6 +25,13 @@ import os import subprocess import sys + +possible_topdir = os.getcwd() +if os.path.exists(os.path.join(possible_topdir, "openstackclient", + "__init__.py")): + sys.path.insert(0, possible_topdir) + + from openstackclient.openstack.common import cfg |
