web/views/urlrewrite.py
brancholdstable
changeset 7388 dc319ece0bd6
parent 6962 220e32f058be
child 7800 ea496a3ed703
--- a/web/views/urlrewrite.py	Tue May 10 07:57:52 2011 +0200
+++ b/web/views/urlrewrite.py	Mon May 16 16:24:00 2011 +0200
@@ -141,7 +141,8 @@
 def build_rset(rql, rgxgroups=None, cachekey=None, setuser=False,
                vid=None, vtitle=None, form={}, **kwargs):
 
-    def do_build_rset(inputurl, uri, req, schema):
+    def do_build_rset(inputurl, uri, req, schema, kwargs=kwargs):
+        kwargs = kwargs.copy()
         if rgxgroups:
             match = inputurl.match(uri)
             for arg, group in rgxgroups: