diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-09-17 11:36:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-17 11:36:51 +0200 |
| commit | 0d9959e649c9625c3264382698b49ec6b99096f0 (patch) | |
| tree | 3588e22e5ccd11389e5c5dc3169ca87d4f59237b /searx/engines/sqlite.py | |
| parent | 8905607d1c6975146c258d6afcd685272216cef8 (diff) | |
| parent | 443bf35e09ce27d07c18c01d455886e85ead53f9 (diff) | |
Merge pull request #325 from searxng/dependabot/pip/master/pylint-2.11.1
Bump pylint from 2.10.2 to 2.11.1
Diffstat (limited to 'searx/engines/sqlite.py')
| -rw-r--r-- | searx/engines/sqlite.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/searx/engines/sqlite.py b/searx/engines/sqlite.py index 292448602..43a85efbb 100644 --- a/searx/engines/sqlite.py +++ b/searx/engines/sqlite.py @@ -35,7 +35,6 @@ def sqlite_cursor(): * https://docs.python.org/3/library/sqlite3.html#sqlite3.connect * https://www.sqlite.org/uri.html """ - global database # pylint: disable=global-statement uri = 'file:' + database + '?mode=ro' with contextlib.closing(sqlite3.connect(uri, uri=True)) as connect: connect.row_factory = sqlite3.Row @@ -44,7 +43,6 @@ def sqlite_cursor(): def search(query, params): - global query_str, result_template # pylint: disable=global-statement results = [] query_params = { |