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-04 19:43:19 (GMT)
committer Agustin Zubiaga <aguz@sugarlabs.org>2012-06-04 19:43:19 (GMT)
commitd891f7cdd2846b551fd0b744484a8f22fab7842b (patch)
tree122da8c22423e5cccdf438675218e8628a481071 /utils.py
parent87469d6e0de8dc29bc6d40006f1f8e4760567f5d (diff)
More elegant list
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.py b/utils.py
index 2d3c7ff..4acce70 100644
--- a/utils.py
+++ b/utils.py
@@ -85,10 +85,10 @@ def get_icon(activity_id):
return pixbuf
-def download_activity(id, progress_function):
+def download_activity(_id, progress_function):
"""Download (and install) an activity"""
store_list = get_store_list()
- activity_obj = store_list[id]
+ activity_obj = store_list[_id]
name = activity_obj[1]
name = name.lower()