diff --git a/src/sugar/activity/activity.py b/src/sugar/activity/activity.py index c91a023c..0e2ecc53 100644 --- a/src/sugar/activity/activity.py +++ b/src/sugar/activity/activity.py @@ -52,7 +52,6 @@ import logging import os import time from hashlib import sha1 -import traceback import gconf import gtk diff --git a/src/sugar/util.py b/src/sugar/util.py index 7b331411..b947c0a3 100644 --- a/src/sugar/util.py +++ b/src/sugar/util.py @@ -201,7 +201,7 @@ class LRU: return iter(self.d) def itervalues(self): - for i, j in self.iteritems(): + for i_, j in self.iteritems(): yield j def keys(self):