diff options
author | Marco 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) |
commit | e0bd5d1df41f1d77ae8bd66c3c2a0ab9143595cb (patch) | |
tree | c5c86920fb8815fab68daaa1d3a394c590a8cc12 /sugar/env.py | |
parent | 09b096d4d0feb92e31a4e132a1f15ec3d66a3860 (diff) |
Cleanup activity factory startup, remove duplicated argument from the Exec field
Diffstat (limited to 'sugar/env.py')
-rw-r--r-- | sugar/env.py | 6 |
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'] |