[Sugar-devel] [PATCH 20/21 sugar-toolkit] pylint: sugar.wm._property_change_trapped: allow overriding built-in method
Sascha Silbe
sascha-pgp at silbe.org
Fri Oct 15 17:01:24 EDT 2010
"format" 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/wm.py b/src/sugar/wm.py
index 00c6fd0..8f1903f 100644
--- a/src/sugar/wm.py
+++ b/src/sugar/wm.py
@@ -38,6 +38,7 @@ def _property_get_trapped(window, prop, prop_type):
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)
--
1.7.1
More information about the Sugar-devel
mailing list