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 <mpg@redhat.com>2007-02-22 14:55:07 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-02-22 14:55:07 (GMT)
commitc4435397fc2367743acf980b3c978614b59bb28f (patch)
tree28fcb4e591c82c240084576c3cb08d3f87a79c98 /sugar/env.py
parent02f375b7108037b6a1dc2f002f03091aa4853b8a (diff)
Remove bundle specific stuff from env.
Move get_bundle_path to activity.
Diffstat (limited to 'sugar/env.py')
-rw-r--r--sugar/env.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/sugar/env.py b/sugar/env.py
index c0df585..afaa565 100644
--- a/sugar/env.py
+++ b/sugar/env.py
@@ -24,30 +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 is_emulator():
if os.environ.has_key('SUGAR_EMULATOR'):
if os.environ['SUGAR_EMULATOR'] == 'yes':
return True
return False
-def get_bundle_service_name():
- if os.environ.has_key('SUGAR_BUNDLE_SERVICE_NAME'):
- return os.environ['SUGAR_BUNDLE_SERVICE_NAME']
- else:
- return None
-
-def get_bundle_default_type():
- if os.environ.has_key('SUGAR_BUNDLE_DEFAULT_TYPE'):
- return os.environ['SUGAR_BUNDLE_DEFAULT_TYPE']
- else:
- return None
-
def get_profile_path():
if os.environ.has_key('SUGAR_PROFILE'):
profile_id = os.environ['SUGAR_PROFILE']