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:
parent
0521234fec
commit
46deeb64e6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user