backport oldstable stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 16 May 2011 16:25:33 +0200
branchstable
changeset 7389 c2b29631c1a3
parent 7384 69aa88765db5 (current diff)
parent 7388 dc319ece0bd6 (diff)
child 7390 be2fffc9ec17
backport oldstable
--- a/web/views/urlrewrite.py	Mon May 16 10:19:22 2011 +0200
+++ b/web/views/urlrewrite.py	Mon May 16 16:25:33 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: