summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-02-06 17:41:17 +0000
committerGerrit Code Review <review@openstack.org>2013-02-06 17:41:17 +0000
commit50ceef8fb71028474edad654db963f8b1f061dca (patch)
tree124dd671fafc6e0a9decdf7ca238ca0f8648e66e /tools
parentb26cb5bf683e7f4f03d9704524a188b76ac5e9b9 (diff)
parentb675ca4f7f254dd24ee9091dcbdf74b2b9d7aa3b (diff)
downloadpython-openstackclient-50ceef8fb71028474edad654db963f8b1f061dca.tar.gz
Merge "Sync latest openstack-common."
Diffstat (limited to 'tools')
-rw-r--r--tools/install_venv_common.py7
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