From 5c0a882aaa4ec96bce302c930764331a17b1feda Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Fri, 22 Jan 2010 19:03:58 +0000 Subject: [PATCH] minor pylint adjustements --- terminatorlib/notebook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terminatorlib/notebook.py b/terminatorlib/notebook.py index 76121a3e..2745dff9 100755 --- a/terminatorlib/notebook.py +++ b/terminatorlib/notebook.py @@ -93,7 +93,7 @@ class Notebook(Container, gtk.Notebook): """Remove a widget from the container""" page_num = self.page_num(widget) if page_num == -1: - err('Notebook::remove: %s not found in Notebook. Actual parent is: %s' % + err('%s not found in Notebook. Actual parent is: %s' % (widget, widget.get_parent())) return(False) self.remove_page(page_num) @@ -353,7 +353,7 @@ class TabLabel(gtk.HBox): gtk.ICON_SIZE_MENU) self.button.set_size_request(x + 2, y + 2) - def on_close(self, widget): + def on_close(self, _widget): """The close button has been clicked. Destroy the tab""" self.emit('close-clicked', self)