Ignore pylint warning (#211)

Caused by helper function given access to class internals
This commit is contained in:
Stein Magnus Jodal 2012-10-18 12:11:42 +02:00
parent 8683537816
commit 893efe426f

View File

@ -13,7 +13,9 @@ def option_wrapper(name, default):
def set_option(self, value):
if getattr(self, name, default) != value:
# pylint: disable = W0212
self._trigger_options_changed()
# pylint: enable = W0212
return setattr(self, name, value)
return property(get_option, set_option)