Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/services/datastore/sugar-data-store
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-03-09 13:57:54 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-03-09 13:57:54 (GMT)
commit57c928916ca7cdacd728834a9b59ecc33b55339e (patch)
tree2cc618248d665cde0790853d0d169754271fd21c /services/datastore/sugar-data-store
parenta380b7f915ca32293315176027f835fb739bb86b (diff)
Refactor sugar.env and paths
Diffstat (limited to 'services/datastore/sugar-data-store')
-rwxr-xr-xservices/datastore/sugar-data-store2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/datastore/sugar-data-store b/services/datastore/sugar-data-store
index 9ab14fe..003e273 100755
--- a/services/datastore/sugar-data-store
+++ b/services/datastore/sugar-data-store
@@ -24,7 +24,7 @@ import logging
from sugar import logger
from sugar import env
-sys.path.insert(0, os.path.join(env.get_data_dir(), 'services/datastore'))
+sys.path.insert(0, env.get_service_path('datastore'))
logger.start('data-store')
logging.info('Starting the data store...')