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 <[email protected]>
Acked-by: Simon Schampijer <[email protected]>
CC: Aleksey Lim <[email protected]>
This commit is contained in:
Sascha Silbe
2010-11-23 17:14:36 +01:00
parent 0521234fec
commit 46deeb64e6
+1
View File
@@ -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)