mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-27 09:07:01 -05:00
func(*EXPR) is valid Python syntax, really...
This commit is contained in:
parent
4848fdbf59
commit
b1022ed8b5
@ -100,8 +100,7 @@ def cached(max_entries=1000, num_args=1):
|
|||||||
cache_counter.inc_misses(name)
|
cache_counter.inc_misses(name)
|
||||||
ret = yield orig(self, *keyargs)
|
ret = yield orig(self, *keyargs)
|
||||||
|
|
||||||
prefill_args = keyargs + (ret,)
|
prefill(*keyargs + (ret,))
|
||||||
prefill(*prefill_args)
|
|
||||||
|
|
||||||
defer.returnValue(ret)
|
defer.returnValue(ret)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user