summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoren Hansen <soren.hansen@rackspace.com>2010-11-29 22:01:19 +0100
committerSoren Hansen <soren.hansen@rackspace.com>2010-11-29 22:01:19 +0100
commit03deb0dde48a0b9c7c6c52689ecf8a70e1fa7b7e (patch)
treed30c9d1feb0efffdb1aff567a6b6b80d06381da9
parent28927f0c9688dd7f3c84a1eda4cc646a1aff7896 (diff)
downloadnova-03deb0dde48a0b9c7c6c52689ecf8a70e1fa7b7e.tar.gz
nova-03deb0dde48a0b9c7c6c52689ecf8a70e1fa7b7e.tar.xz
nova-03deb0dde48a0b9c7c6c52689ecf8a70e1fa7b7e.zip
Adjust state_path default setting so that api unit tests find things where they used to find them.
-rw-r--r--nova/flags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/flags.py b/nova/flags.py
index 948729449..cb9fa105b 100644
--- a/nova/flags.py
+++ b/nova/flags.py
@@ -244,7 +244,7 @@ DEFINE_string('vpn_key_suffix',
DEFINE_integer('auth_token_ttl', 3600, 'Seconds for auth tokens to linger')
-DEFINE_string('state_path', os.path.abspath("./"),
+DEFINE_string('state_path', os.path.join(os.path.dirname(__file__), '../'),
"Top-level directory for maintaining nova's state")
DEFINE_string('sql_connection',