Verified Commit 3ad52be5 authored by Ansgar's avatar Ansgar

silence warning "E999 SyntaxError: invalid syntax"

parent 0bf4c90e
......@@ -78,6 +78,6 @@ $function$""")
c.execute("UPDATE config SET value = '69' WHERE name = 'db_revision'")
self.db.commit()
except psycopg2.ProgrammingError, msg:
except psycopg2.ProgrammingError as msg:
self.db.rollback()
raise DBUpdateError('Unable to apply sick update 69, rollback issued. Error message : %s' % (str(msg)))
......@@ -22,7 +22,6 @@ ignore =
E722,
E731,
E741,
E999,
F401,
F403,
F405,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment