change XOS_ROOT to XOS_DIR
diff --git a/planetstack/dependency_walker.py b/planetstack/dependency_walker.py
index 1959a7a..6120d7d 100644
--- a/planetstack/dependency_walker.py
+++ b/planetstack/dependency_walker.py
@@ -2,7 +2,7 @@
import os
import imp
-from planetstack.config import Config, XOS_ROOT
+from planetstack.config import Config, XOS_DIR
import inspect
import time
import traceback
@@ -13,14 +13,14 @@
from core.models import *
from util.logger import Logger, logging
-logger = Logger(level=logging.INFO)
+logger = Logger(level=logging.INFO)
missing_links={}
try:
dep_data = open(Config().dependency_graph).read()
except:
- dep_data = open(XOS_ROOT + '/model-deps').read()
+ dep_data = open(XOS_DIR + '/model-deps').read()
dependencies = json.loads(dep_data)
diff --git a/planetstack/planetstack/config.py b/planetstack/planetstack/config.py
index 923964d..0654fe6 100644
--- a/planetstack/planetstack/config.py
+++ b/planetstack/planetstack/config.py
@@ -12,8 +12,8 @@
"""
"""
-XOS_ROOT = "/opt/planetstack"
-DEFAULT_CONFIG_FN = os.path.join(XOS_ROOT, "xos_config")
+XOS_DIR = "/opt/planetstack"
+DEFAULT_CONFIG_FN = os.path.join(XOS_DIR, "xos_config")
# warning for now, remove once we're sure everyone has made the change
if (os.path.exists("/opt/planetstack/plstackapi_config") and (not os.path.exists(DEFAULT_CONFIG_FN))):