summary refs log tree commit diff
path: root/synapse/util/caches/descriptors.py
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-12-12 12:03:28 -0500
committerGitHub <noreply@github.com>2019-12-12 12:03:28 -0500
commitcb2db179945f567410b565f29725dff28449f013 (patch)
tree133ad654bb437dc812e2f60ab65a7e747872ff33 /synapse/util/caches/descriptors.py
parentFix redacted events being returned in search results ordered by "recent" (#6522) (diff)
downloadsynapse-cb2db179945f567410b565f29725dff28449f013.tar.xz
look up cross-signing keys from the DB in bulk (#6486)
Diffstat (limited to 'synapse/util/caches/descriptors.py')
-rw-r--r--synapse/util/caches/descriptors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/caches/descriptors.py b/synapse/util/caches/descriptors.py
index 84f5ae22c3..2e8f6543e5 100644
--- a/synapse/util/caches/descriptors.py
+++ b/synapse/util/caches/descriptors.py
@@ -271,7 +271,7 @@ class _CacheDescriptorBase(object):
         else:
             self.function_to_call = orig
 
-        arg_spec = inspect.getargspec(orig)
+        arg_spec = inspect.getfullargspec(orig)
         all_args = arg_spec.args
 
         if "cache_context" in all_args: