Deprecate and ignore the SUGAR_EMULATOR variable

master
Daniel Narvaez 11 years ago
parent 2fcac13791
commit 3f908ef999

@ -20,11 +20,14 @@
STABLE. STABLE.
""" """
import logging
import os import os
# DEPRECATED
def is_emulator(): def is_emulator():
return os.environ.get('SUGAR_EMULATOR', 'no') == 'yes' logging.error("sugar.env.is_emulator is deprecated")
return False
def get_profile_path(path=None): def get_profile_path(path=None):

Loading…
Cancel
Save