From 0c1f611a72b9d18d377fcd3343fd76c694a96350 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 2 Jun 2014 21:36:38 +0200 Subject: [PATCH] Fix lint --- qutebrowser/widgets/statusbar/_command.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qutebrowser/widgets/statusbar/_command.py b/qutebrowser/widgets/statusbar/_command.py index 95d263f48..4ff76e6af 100644 --- a/qutebrowser/widgets/statusbar/_command.py +++ b/qutebrowser/widgets/statusbar/_command.py @@ -86,6 +86,7 @@ class Command(MinimalLineEdit): @property def prefix(self): + """Property to get the current command prefix entered.""" text = self.text() if not text: return '' @@ -96,6 +97,7 @@ class Command(MinimalLineEdit): @property def parts(self): + """Property to get the text split up in parts.""" text = self.text() if not text: return [] @@ -220,7 +222,7 @@ class Command(MinimalLineEdit): signals[text[0]].emit(text.lstrip(text[0])) @pyqtSlot(str) - def on_text_edited(self, text): + def on_text_edited(self, _text): """Slot for textEdited. Stop history and update completion.""" self.history.stop() self._update_cursor_part()