# HG changeset patch # User ymh # Date 1331642533 -3600 # Node ID 3d70078fe90ae87ba7a0e1854270a5abb84d10c6 # Parent ba546ece29d503f53d6c597ea42f93757cc868cd correct stupid bug in cache key diff -r ba546ece29d5 -r 3d70078fe90a web/hdalab/utils.py --- a/web/hdalab/utils.py Tue Mar 13 13:28:51 2012 +0100 +++ b/web/hdalab/utils.py Tue Mar 13 13:42:13 2012 +0100 @@ -15,4 +15,4 @@ cache_key = smart_str(cache_key) if len(cache_key) > (250-(2+len(cache.key_prefix)+len(str(cache.version)))-33): cache_key = cache_key[:(250-(2+len(cache.key_prefix)+len(str(cache.version)))-33)] + '-' + md5.new(cache_key).hexdigest() - return cache_key \ No newline at end of file + return cache_key \ No newline at end of file