diff options
author | Bastien Nocera <hadess@hadess.net> | 2018-06-14 16:11:11 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2018-06-14 16:58:11 +0200 |
commit | c410fa9f1d7454616978e0f09abc98027a822f44 (patch) | |
tree | 48ce1e976bd1fa60917dc5471fdb116c26764a60 | |
parent | b8c4f09d0467e44e69b6fcd1fa47f209961fc9b9 (diff) | |
download | totem-c410fa9f1d7454616978e0f09abc98027a822f44.tar.gz |
samplepython: Fix pylint warnings
-rw-r--r-- | src/plugins/samplepython/samplepython.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/samplepython/samplepython.py b/src/plugins/samplepython/samplepython.py index 1d2bbcfa1..82af8b379 100644 --- a/src/plugins/samplepython/samplepython.py +++ b/src/plugins/samplepython/samplepython.py @@ -1,6 +1,6 @@ # From code by James Livingston -from gi.repository import GObject, Peas, Totem # pylint: disable-msg=E0611,W0611 +from gi.repository import GObject, Peas, Totem # pylint: disable=no-name-in-module,unused-import class SamplePython (GObject.Object, Peas.Activatable): __gtype_name__ = 'SamplePython' @@ -12,8 +12,8 @@ class SamplePython (GObject.Object, Peas.Activatable): def do_activate (self): print("Activating sample Python plugin") - self.object.action_fullscreen_toggle () + self.object.action_fullscreen_toggle () # pylint: disable=no-member def do_deactivate (self): print("Deactivating sample Python plugin") - self.object.action_fullscreen_toggle () + self.object.action_fullscreen_toggle () # pylint: disable=no-member |