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>
This commit is contained in:
Sascha Silbe 2010-10-15 20:18:15 +00:00
parent 0521234fec
commit 46deeb64e6

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)