[Sugar-devel] [PATCH sugar-base 09/17] PEP8 cleanup: import only one module per import statement

Sascha Silbe sascha-pgp at silbe.org
Sat Oct 16 07:30:22 EDT 2010


Signed-off-by: Sascha Silbe <sascha-pgp at silbe.org>

diff --git a/src/sugar/dispatch/saferef.py b/src/sugar/dispatch/saferef.py
index 6eb0d9e..709d292 100644
--- a/src/sugar/dispatch/saferef.py
+++ b/src/sugar/dispatch/saferef.py
@@ -5,7 +5,8 @@ Provides a way to safely weakref any function, including bound methods (which
 aren't handled by the core weakref module).
 """
 
-import weakref, traceback
+import weakref
+import traceback
 
 
 def safeRef(target, onDelete=None):
-- 
1.7.1



More information about the Sugar-devel mailing list