From 950da4dec367fec2a208968caa9ae14bb85395dd Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Tue, 2 Mar 2010 20:35:06 +0000 Subject: [PATCH] pylint cleanups --- terminatorlib/config.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/terminatorlib/config.py b/terminatorlib/config.py index 56af599d..c5a58c25 100755 --- a/terminatorlib/config.py +++ b/terminatorlib/config.py @@ -308,10 +308,12 @@ class Config(object): if self.gconf is None: self.gconf = gconf.client_get_default() - value = self.gconf.get('/desktop/gnome/interface/monospace_font_name') + value = self.gconf.get( + '/desktop/gnome/interface/monospace_font_name') self.system_font = value.get_string() - self.gconf.notify_add('/desktop/gnome/interface/monospace_font_name', - self.on_gconf_notify) + self.gconf.notify_add( + '/desktop/gnome/interface/monospace_font_name', + self.on_gconf_notify) return(self.system_font) def get_system_focus(self): @@ -330,7 +332,7 @@ class Config(object): self.on_gconf_notify) return(self.system_focus) - def on_gconf_notify(self, client, cnxn_id, entry, what): + def on_gconf_notify(self, _client, _cnxn_id, _entry, _what): """Handle a gconf watch changing""" dbg('GConf notification received. Invalidating caches') self.system_focus = None