[schema] define full_rql on RQLExpression class
authorLaura Médioni <laura.medioni@logilab.fr>
Mon, 16 Jun 2014 10:07:57 +0200
changeset 9958 3b755c9057fd
parent 9957 5def1d98fce7
child 9959 6047bf8df9e5
[schema] define full_rql on RQLExpression class without it, we may have an error while displaying error which occured during some expression initialization because this attribute is not yet defined while used in the __str__ method.
schema.py
--- a/schema.py	Fri Aug 29 07:44:13 2014 +0200
+++ b/schema.py	Mon Jun 16 10:07:57 2014 +0200
@@ -154,6 +154,7 @@
     # to be defined in concrete classes
     rqlst = None
     predefined_variables = None
+    full_rql = None
 
     def __init__(self, expression, mainvars, eid):
         """