diff options
author | Agustin Zubiaga <aguz@sugarlabs.org> | 2012-06-09 03:13:32 (GMT) |
---|---|---|
committer | Agustin Zubiaga <aguz@sugarlabs.org> | 2012-06-09 03:13:32 (GMT) |
commit | 04db2560940c0659447f84833af8e78aa7388b0e (patch) | |
tree | d77287d71eb7f360331a2902bb2cf991398d4b49 /utils.py | |
parent | ea63dfebe3a23aac77a006d71062e19b80158384 (diff) |
Using a thread to download the list
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -26,13 +26,15 @@ import logging from sugar.activity import activity from sugar.bundle.activitybundle import ActivityBundle +from gettext import gettext as _ + # Paths LIST_DOWNLOAD = "http://www.fing.edu.uy/~aaguiar/files/store.lst" LIST_PATH = os.path.join(activity.get_activity_root(), 'data', 'store.lst') TMP_DIR = os.path.join(activity.get_activity_root(), "tmp") # Logging -_logger = logging.getLogger('activitiesstore-activity') +_logger = logging.getLogger('install-activity') _logger.setLevel(logging.DEBUG) logging.basicConfig() |