From 6080830a8b1cc27f5a14d68637c16e325e1fdf9c Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Tue, 20 Jun 2017 22:25:09 -0400 Subject: [PATCH] Fix outdated docstring and pylint error. --- qutebrowser/completion/models/listcategory.py | 6 +----- qutebrowser/misc/sql.py | 3 ++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/qutebrowser/completion/models/listcategory.py b/qutebrowser/completion/models/listcategory.py index acdc5cafc..ce10bbb14 100644 --- a/qutebrowser/completion/models/listcategory.py +++ b/qutebrowser/completion/models/listcategory.py @@ -17,11 +17,7 @@ # You should have received a copy of the GNU General Public License # along with qutebrowser. If not, see . -"""The base completion model for completion in the command line. - -Module attributes: - Role: An enum of user defined model roles. -""" +"""Completion category that uses a list of tuples as a data source.""" import re diff --git a/qutebrowser/misc/sql.py b/qutebrowser/misc/sql.py index 987fac59c..52ae13e11 100644 --- a/qutebrowser/misc/sql.py +++ b/qutebrowser/misc/sql.py @@ -241,6 +241,7 @@ class SqlTable(QObject): """ q = Query("SELECT * FROM {table} ORDER BY {sort_by} {sort_order} " "LIMIT :limit" - .format(table=self._name, sort_by=sort_by, sort_order=sort_order)) + .format(table=self._name, sort_by=sort_by, + sort_order=sort_order)) q.run(limit=limit) return q