diff options
author | Marco 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) |
commit | c4435397fc2367743acf980b3c978614b59bb28f (patch) | |
tree | 28fcb4e591c82c240084576c3cb08d3f87a79c98 /sugar/env.py | |
parent | 02f375b7108037b6a1dc2f002f03091aa4853b8a (diff) |
Remove bundle specific stuff from env.
Move get_bundle_path to activity.
Diffstat (limited to 'sugar/env.py')
-rw-r--r-- | sugar/env.py | 18 |
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'] |