Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/utils.py
diff options
context:
space:
mode:
authorAgustin Zubiaga <aguz@sugarlabs.org>2012-06-09 03:13:32 (GMT)
committer Agustin Zubiaga <aguz@sugarlabs.org>2012-06-09 03:13:32 (GMT)
commit04db2560940c0659447f84833af8e78aa7388b0e (patch)
treed77287d71eb7f360331a2902bb2cf991398d4b49 /utils.py
parentea63dfebe3a23aac77a006d71062e19b80158384 (diff)
Using a thread to download the list
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils.py b/utils.py
index 7e7bcb3..733808c 100644
--- a/utils.py
+++ b/utils.py
@@ -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()