From 2a52c9493bc5a749e0c06ec5df60b963f1594ca2 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Wed, 10 Mar 2010 10:23:30 +0100 Subject: [PATCH] A little bit of pylint cleanup --- src/sugar/activity/activity.py | 1 - src/sugar/util.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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):