[Sugar-devel] [PATCH 13/21 v2 sugar-toolkit] pylint cleanup: remove unused imports

Sascha Silbe sascha-pgp at silbe.org
Fri Nov 19 11:40:52 EST 2010


Signed-off-by: Sascha Silbe <sascha-pgp at silbe.org>
---
v1->v2: fix oversight in src/sugar/graphics/palette.py (another unused module
        among a few false-positives)

 src/sugar/graphics/palette.py           |    2 --
 src/sugar/presence/connectionmanager.py |    3 +--
 2 files changed, 1 insertions(+), 4 deletions(-)


diff --git a/src/sugar/graphics/palette.py b/src/sugar/graphics/palette.py
index d4f844c..46f167b 100644
--- a/src/sugar/graphics/palette.py
+++ b/src/sugar/graphics/palette.py
@@ -21,8 +21,6 @@
 STABLE.
 """

-import logging
-
 import gtk
 import gobject
 import pango
diff --git a/src/sugar/presence/connectionmanager.py b/src/sugar/presence/connectionmanager.py
index 78b744e..502b7a8 100644
--- a/src/sugar/presence/connectionmanager.py
+++ b/src/sugar/presence/connectionmanager.py
@@ -24,8 +24,7 @@ from functools import partial
 import dbus
 from dbus import PROPERTIES_IFACE
 from telepathy.interfaces import ACCOUNT, \
-                                 ACCOUNT_MANAGER, \
-                                 CONNECTION
+                                 ACCOUNT_MANAGER
 from telepathy.constants import CONNECTION_STATUS_CONNECTED

 ACCOUNT_MANAGER_SERVICE = 'org.freedesktop.Telepathy.AccountManager'
--
1.7.2.3



More information about the Sugar-devel mailing list