server/querier.py
changeset 8695 358d8bed9626
parent 8694 d901c36bcfce
child 8696 0bb18407c053
--- a/server/querier.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/server/querier.py	Thu Feb 14 15:38:25 2013 +0100
@@ -399,7 +399,7 @@
         for solution in rqlst.solutions:
             try:
                 localcheck = check_read_access(session, rqlst, solution, self.args)
-            except Unauthorized, ex:
+            except Unauthorized as ex:
                 msg = 'remove %s from solutions since %s has no %s access to %s'
                 msg %= (solution, session.user.login, ex.args[0], ex.args[1])
                 msgs.append(msg)