Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/env.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-12-18 12:47:49 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-12-18 12:47:49 (GMT)
commite0bd5d1df41f1d77ae8bd66c3c2a0ab9143595cb (patch)
treec5c86920fb8815fab68daaa1d3a394c590a8cc12 /sugar/env.py
parent09b096d4d0feb92e31a4e132a1f15ec3d66a3860 (diff)
Cleanup activity factory startup, remove duplicated argument from the Exec field
Diffstat (limited to 'sugar/env.py')
-rw-r--r--sugar/env.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/sugar/env.py b/sugar/env.py
index 391c7cd..6b59ab5 100644
--- a/sugar/env.py
+++ b/sugar/env.py
@@ -24,6 +24,12 @@ try:
except ImportError:
from sugar.__installed__ import *
+def get_bundle_path():
+ if os.environ.has_key('SUGAR_BUNDLE_PATH'):
+ return os.environ['SUGAR_BUNDLE_PATH']
+ else:
+ return None
+
def get_profile_path():
if os.environ.has_key('SUGAR_PROFILE'):
profile_id = os.environ['SUGAR_PROFILE']