should not have been commited 3.5
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 16 Sep 2009 16:39:12 +0200
branch3.5
changeset 3254 fe7ec595751c
parent 3253 905e269ff853
child 3255 a1679842bd52
should not have been commited
rqlrewrite.py
--- a/rqlrewrite.py	Wed Sep 16 16:39:03 2009 +0200
+++ b/rqlrewrite.py	Wed Sep 16 16:39:12 2009 +0200
@@ -149,7 +149,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(str((varmap, str(self.select), [expr.expression for expr in rqlexprs])))
+                raise Unauthorized()
 
     def insert_snippet(self, varmap, snippetrqlst, parent=None):
         new = snippetrqlst.where.accept(self)