[totem] plugins: Disable a random pylint message in the pythonconsole



commit 6df002636a818c9185defdb8857696181ed4039f
Author: Philip Withnall <philip tecnocode co uk>
Date:   Tue Apr 5 00:48:01 2011 +0100

    plugins: Disable a random pylint message in the pythonconsole
    
    I'm fairly sure it's incorrect, since the Gtk module is loaded
    dynamically.
    
    Helps: bgo#645739

 src/plugins/pythonconsole/pythonconsole.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/pythonconsole/pythonconsole.py b/src/plugins/pythonconsole/pythonconsole.py
index e740a68..40d6a78 100644
--- a/src/plugins/pythonconsole/pythonconsole.py
+++ b/src/plugins/pythonconsole/pythonconsole.py
@@ -121,7 +121,7 @@ class PythonConsolePlugin (GObject.Object, Peas.Activatable):
                 'totem_object' : self.totem
             }, destroy_cb = self._destroy_console)
 
-            console.set_size_request (600, 400)
+            console.set_size_request (600, 400) # pylint: disable-msg=E1101
             console.eval ('print "%s" %% totem_object' % _(u"You can access "\
                 "the Totem.Object through \'totem_object\' :\\n%s"), False)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]