branch | stable |
changeset 3864 | 2fee9151c6b2 |
parent 3856 | 1c9589e46b16 |
child 3865 | f9778a00e47f |
--- a/web/views/urlrewrite.py Mon Nov 16 17:20:03 2009 +0100 +++ b/web/views/urlrewrite.py Mon Nov 16 17:51:45 2009 +0100 @@ -152,6 +152,7 @@ def do_build_rset(inputurl, uri, req, schema): if rql: kwargs = args and args.copy() or {} + cachekey = cachekey # necessary to avoid UnboundLocalError if argsgroups: if cachekey is not None and isinstance(cachekey, basestring): cachekey = (cachekey,)