summary refs log tree commit diff
path: root/synapse/util/caches
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-03-31 09:38:27 +0100
committerErik Johnston <erik@matrix.org>2017-03-31 09:38:27 +0100
commit4d17add8de6d1c3bcd073246519f3cdaa5063bed (patch)
tree526a464a64e8d5e439e73c778867342813c6e429 /synapse/util/caches
parentDocs (diff)
downloadsynapse-4d17add8de6d1c3bcd073246519f3cdaa5063bed.tar.xz
Remove unused instance variable
Diffstat (limited to 'synapse/util/caches')
-rw-r--r--synapse/util/caches/descriptors.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/util/caches/descriptors.py b/synapse/util/caches/descriptors.py
index 1f02cca8a5..9d0d0be1f9 100644
--- a/synapse/util/caches/descriptors.py
+++ b/synapse/util/caches/descriptors.py
@@ -228,10 +228,6 @@ class _CacheDescriptorBase(object):
         # list of the names of the args used as the cache key
         self.arg_names = all_args[1:num_args + 1]
 
-        # The arg spec of the wrapped function, see `inspect.getargspec` for
-        # the type.
-        self.arg_spec = arg_spec
-
         # self.arg_defaults is a map of arg name to its default value for each
         # argument that has a default value
         if arg_spec.defaults: