missing mainvars
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 08 Dec 2009 12:03:15 +0100
changeset 4029 e50a6b70c8e4
parent 4028 062beb946b7c
child 4030 6cfe4faddf8c
missing mainvars
entities/wfobjs.py
--- a/entities/wfobjs.py	Tue Dec 08 12:03:10 2009 +0100
+++ b/entities/wfobjs.py	Tue Dec 08 12:03:15 2009 +0100
@@ -247,9 +247,8 @@
             kwargs['x'] = self.eid
             kwargs.setdefault('mainvars', u'X')
             self._cw.execute('INSERT RQLExpression X: X exprtype "ERQLExpression", '
-                             'X expression %(expr)s, T condition X '
-                             'WHERE T eid %(x)s',
-                             'T condition X WHERE T eid %(x)s', kwargs, 'x')
+                             'X expression %(expr)s, X mainvars %(mainvars)s, '
+                             'T condition X WHERE T eid %(x)s',kwargs, 'x')
         # XXX clear caches?