[rqlrewrite] fix comment
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 07 Dec 2011 10:53:05 +0100
changeset 8112 d3f1e28d5bdb
parent 8111 d1be698018d2
child 8113 1e8c92202f44
[rqlrewrite] fix comment
rqlrewrite.py
--- a/rqlrewrite.py	Mon Dec 05 16:59:20 2011 +0100
+++ b/rqlrewrite.py	Wed Dec 07 10:53:05 2011 +0100
@@ -249,7 +249,7 @@
                     self.insert_snippet(varmap, rqlexpr.snippet_rqlst, exists)
         if varexistsmap is None and not inserted:
             # no rql expression found matching rql solutions. User has no access right
-            raise Unauthorized() # XXX bad constraint when inserting constraints
+            raise Unauthorized() # XXX may also be because of bad constraints in schema definition
 
     def insert_snippet(self, varmap, snippetrqlst, parent=None):
         new = snippetrqlst.where.accept(self)