[querier] Fix typo in Unauthorized message exception
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Thu, 20 Apr 2017 17:22:36 +0200
changeset 12172 8bb323eb6859
parent 12171 970c32a4c7b7
child 12173 d13fc09301bd
[querier] Fix typo in Unauthorized message exception
cubicweb/server/querier.py
--- a/cubicweb/server/querier.py	Wed Apr 19 15:09:31 2017 +0200
+++ b/cubicweb/server/querier.py	Thu Apr 20 17:22:36 2017 +0200
@@ -293,7 +293,7 @@
                         if rqlexpr.check(cnx, eid):
                             break
                     else:
-                        raise Unauthorized('No read acces on %r with eid %i.' % (var, eid))
+                        raise Unauthorized('No read access on %r with eid %i.' % (var, eid))
                 # mark variables protected by an rql expression
                 restricted_vars.update(localcheck)
                 # turn local check into a dict key