From 893efe426f16fa5ff5147e4752c87f4da524032d Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Thu, 18 Oct 2012 12:11:42 +0200 Subject: [PATCH] Ignore pylint warning (#211) Caused by helper function given access to class internals --- mopidy/core/playback.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mopidy/core/playback.py b/mopidy/core/playback.py index 90e7e639..d2411738 100644 --- a/mopidy/core/playback.py +++ b/mopidy/core/playback.py @@ -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)