diff options
author | David Robertson <davidr@element.io> | 2022-09-30 16:37:48 +0100 |
---|---|---|
committer | David Robertson <davidr@element.io> | 2022-09-30 16:37:48 +0100 |
commit | 8e52cb0bce4c4e42a0f151f16e51529b7aba8f7d (patch) | |
tree | d774cbdb7c80fe6bfb9350809397c8d18bffa5ca /synapse/storage/databases | |
parent | Update mypy and mypy-zope (#13925) (diff) | |
download | synapse-8e52cb0bce4c4e42a0f151f16e51529b7aba8f7d.tar.xz |
Revert "Update mypy and mypy-zope (#13925)"
This reverts commit 6d543d6d9f56e39199b7e460d0081b02d61f12be.
Diffstat (limited to 'synapse/storage/databases')
-rw-r--r-- | synapse/storage/databases/main/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/search.py b/synapse/storage/databases/main/search.py index 1b79acf955..f6e24b68d2 100644 --- a/synapse/storage/databases/main/search.py +++ b/synapse/storage/databases/main/search.py @@ -641,7 +641,7 @@ class SearchStore(SearchBackgroundUpdateStore): raise Exception("Unrecognized database engine") # mypy expects to append only a `str`, not an `int` - args.append(limit) + args.append(limit) # type: ignore[arg-type] results = await self.db_pool.execute( "search_rooms", self.db_pool.cursor_to_dict, sql, *args |