mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-05 09:17:54 +03:00
fix lambda
This commit is contained in:
parent
cce00adc51
commit
6cee32d680
@ -108,7 +108,7 @@ def allowCache(cachePrefix, cacheTimeout, cachingArgs=None, cachingKeyFnc=None):
|
|||||||
First arg (self) is 0, so normally cachingArgs are 1, or [1,2,..]
|
First arg (self) is 0, so normally cachingArgs are 1, or [1,2,..]
|
||||||
"""
|
"""
|
||||||
if not cachingKeyFnc:
|
if not cachingKeyFnc:
|
||||||
cachingKeyFnc = lambda(x):''
|
cachingKeyFnc = lambda x:''
|
||||||
|
|
||||||
def allowCacheDecorator(fnc):
|
def allowCacheDecorator(fnc):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user