diff options
author | Josh Kearney <josh@jk0.org> | 2013-01-31 17:09:23 -0600 |
---|---|---|
committer | Josh Kearney <josh@jk0.org> | 2013-02-05 10:35:48 -0600 |
commit | 0662a1fde33684fb7cf1bb572b27270a34b38810 (patch) | |
tree | de06f66a5010ce44de8123ad9ec4b44ae59b896a /update.py | |
parent | ea46d462fcfd7d393b71b14206a5e6d86bf1994b (diff) | |
download | oslo-0662a1fde33684fb7cf1bb572b27270a34b38810.tar.gz oslo-0662a1fde33684fb7cf1bb572b27270a34b38810.tar.xz oslo-0662a1fde33684fb7cf1bb572b27270a34b38810.zip |
Allow tools/install_venv_common.py to be run from within the
source directory.
Not doing this raised exceptions when it tried importing modules
that didn't exist in the path.
Change-Id: I10e02cd9ce6beb8fdf822dd397688450ac6981a1
Diffstat (limited to 'update.py')
-rw-r--r-- | update.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -150,6 +150,10 @@ def _copy_file(path, dest, base): '\"openstack\.common', '\"' + base + '.openstack.common') + _replace(dest, + 'possible_topdir, "oslo",$', + 'possible_topdir, "' + base + '",') + def _copy_pyfile(path, base, dest_dir): _copy_file(path, _dest_path(path, base, dest_dir), base) |