[Sugar-devel] [PATCH sugar-base 12/17] pylint: sugar.logger: allow overriding module name

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


"traceback" is the name of a parameter of the function we are wrapping,
so we shouldn't change it.

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

diff --git a/src/sugar/logger.py b/src/sugar/logger.py
index b4cba6c..c242194 100644
--- a/src/sugar/logger.py
+++ b/src/sugar/logger.py
@@ -65,7 +65,7 @@ def set_level(level):
         logging.warning('Invalid log level: %r', level)
 
 
-# pylint: disable=E1101,F0401
+# pylint: disable=E1101,F0401,W0621
 def _except_hook(exctype, value, traceback):
     # Attempt to provide verbose IPython tracebacks.
     # Importing IPython is slow, so we import it lazily.
-- 
1.7.1



More information about the Sugar-devel mailing list