summaryrefslogtreecommitdiffstats
path: root/nova/test.py
diff options
context:
space:
mode:
authorSoren Hansen <soren.hansen@rackspace.com>2010-09-08 17:18:35 +0000
committerTarmac <>2010-09-08 17:18:35 +0000
commit30cec546812799fba09a2bab2b3aa4aad712ae3c (patch)
tree77603477c8b7b3f3241672fd1c466840cb6f32ed /nova/test.py
parentf62e2a6aafc1a3895238adce003926cca4bd3cd8 (diff)
parentf2a3f9a622613ec1575e70ac9fe9655b485d9a6d (diff)
downloadnova-30cec546812799fba09a2bab2b3aa4aad712ae3c.tar.gz
nova-30cec546812799fba09a2bab2b3aa4aad712ae3c.tar.xz
nova-30cec546812799fba09a2bab2b3aa4aad712ae3c.zip
It's annoying and confusing to have to set PYTHONPATH to point to your
development tree before you run any of the scripts. If you're lucky, it just fails (because you don't have nova in the default search path (i.e. don't have them installed in /usr/lib/blah)) so that you can fix it up. If you're less lucky, you spend at least a couple of minutes wondering why the cool changes you made to one of the nova modules don't take effect until you realise it's because it's using the nova stuff in /usr/lib. So, to save myself (and probably others) a bit of time, this patch adds a snippet to each of the scripts in bin/ to detect this and set up the PYTHONPATH.
Diffstat (limited to 'nova/test.py')
0 files changed, 0 insertions, 0 deletions