Fix outdated docstring and pylint error.
This commit is contained in:
parent
b722cc1dec
commit
6080830a8b
@ -17,11 +17,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user