[web form] avoid mis-formated warning for _cw_fields
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 11 Jul 2011 09:15:54 +0200
changeset 7639 5c9e94a09e97
parent 7638 cc7cde77184f
child 7642 64eee2a83bfa
[web form] avoid mis-formated warning for _cw_fields
web/request.py
--- a/web/request.py	Thu Jul 07 18:43:21 2011 +0200
+++ b/web/request.py	Mon Jul 11 09:15:54 2011 +0200
@@ -462,7 +462,7 @@
             try:
                 name, peid = param.split(':', 1)
             except ValueError:
-                if not param.startswith('__') and param != "eid":
+                if not param.startswith('__') and param not in ('eid', '_cw_fields'):
                     self.warning('param %s mis-formatted', param)
                 continue
             if peid == eid: