diff options
author | Sascha Silbe <sascha-pgp@silbe.org> | 2010-10-16 11:14:10 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-pgp@silbe.org> | 2010-11-23 17:03:34 (GMT) |
commit | b58c135c81ac8119d5e45e99e1890eadd5125d20 (patch) | |
tree | 10dabc63222e1e9d36b6de6f762e2364c933b63f | |
parent | 4d2e5f62bca5ec4f37e4cbadc161a81a1812d7c0 (diff) |
pylint cleanup: sugar.dispatch.saferef: remove unused variable
Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
-rw-r--r-- | src/sugar/dispatch/saferef.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/dispatch/saferef.py b/src/sugar/dispatch/saferef.py index 56166d9..bb73b5d 100644 --- a/src/sugar/dispatch/saferef.py +++ b/src/sugar/dispatch/saferef.py @@ -126,7 +126,7 @@ class BoundMethodWeakref(object): except Exception, e: try: traceback.print_exc() - except AttributeError, err: + except AttributeError: print ('Exception during saferef %s cleanup function' ' %s: %s' % (self, function, e)) self.deletionMethods = [onDelete] |