Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2010-10-15 20:18:15 (GMT)
committer Simon Schampijer <simon@schampijer.de>2011-02-10 19:19:16 (GMT)
commit1d88150ef8f17a17baf00326553487d0a357f1b2 (patch)
tree95b0108bb1b5cf77e3a4fe71bd4f803157c9118c
parentc63c4f28ae8730e9ec1f5a4446c8c69c3c3f66e2 (diff)
pylint: sugar.wm._property_change_trapped: allow overriding built-in method
"format" is the name of a parameter of the function we are wrapping, so we shouldn't change it. Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
-rw-r--r--src/sugar/wm.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sugar/wm.py b/src/sugar/wm.py
index 2a3300e..1ca9851 100644
--- a/src/sugar/wm.py
+++ b/src/sugar/wm.py
@@ -36,6 +36,7 @@ def _property_get_trapped(window, prop, prop_type):
return prop_info
def _property_change_trapped(window, prop, prop_type, format, mode, data):
+ # pylint: disable=W0622
gtk.gdk.error_trap_push()
window.property_change(prop, prop_type, format, mode, data)