Deprecate and ignore the SUGAR_EMULATOR variable

This commit is contained in:
Daniel Narvaez 2013-05-07 16:26:17 +02:00
parent 2fcac13791
commit 3f908ef999

View File

@ -20,11 +20,14 @@
STABLE.
"""
import logging
import os
# DEPRECATED
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):