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