diff -r d901c36bcfce -r 358d8bed9626 server/querier.py --- 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)