# HG changeset patch # User Nicolas Chauvat # Date 1259400478 -3600 # Node ID d9a29a1fbe433cdd10bd02013046fb2182668596 # Parent 865b6be915ec44da760a356445702ee0660f6dba bugfix typo in exception name diff -r 865b6be915ec -r d9a29a1fbe43 rqlrewrite.py --- a/rqlrewrite.py Fri Nov 27 23:47:28 2009 +0100 +++ b/rqlrewrite.py Sat Nov 28 10:27:58 2009 +0100 @@ -285,7 +285,7 @@ if not eschema.has_perm(self.session, action): rqlexprs = eschema.get_rqlexprs(action) if not rqlexprs: - raise Unauthorised() + raise Unauthorized() self.insert_snippets([((varname, 'X'), rqlexprs)]) def snippet_subquery(self, varmap, transformedsnippet):