Bug 63447 - /i
git-svn-id: svn://svn.office.custis.ru/3rdparty/viewvc.org/trunk@894 6955db30-a419-402b-8a0d-67ecbb4d7f56remotes/github/custis
parent
0b5123e1b8
commit
fdd255f0ff
|
@ -39,7 +39,7 @@ for i in gac:
|
|||
|
||||
def cachefn(key):
|
||||
global gac
|
||||
key = re.sub('([^a-z0-9_\-]+)', lambda x: binascii.hexlify(x.group(1)), key)
|
||||
key = re.sub('([^a-zA-Z0-9_\-]+)', lambda x: binascii.hexlify(x.group(1)), key)
|
||||
return gac['cache_dir']+'/'+key
|
||||
|
||||
def cacheset(key, value, expire = 86400):
|
||||
|
|
Loading…
Reference in New Issue