diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-03-20 17:28:33 +0000 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-03-20 17:47:45 +0000 |
commit | b1022ed8b5df2d9827cf0437574fce4154eb606e (patch) | |
tree | ab16f95596cd41070bf5c8fc21e720a60965310d /synapse | |
parent | Merge pull request #113 from matrix-org/store_rearrangement (diff) | |
download | synapse-b1022ed8b5df2d9827cf0437574fce4154eb606e.tar.xz |
func(*EXPR) is valid Python syntax, really...
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/_base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index e53630a689..2552a74f85 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -100,8 +100,7 @@ def cached(max_entries=1000, num_args=1): cache_counter.inc_misses(name) ret = yield orig(self, *keyargs) - prefill_args = keyargs + (ret,) - prefill(*prefill_args) + prefill(*keyargs + (ret,)) defer.returnValue(ret) |