提交 2a9fb3cc 编写于 作者: J Joerg Jaspert

Merge commit 'twerner/msfl' into merge

* commit 'twerner/msfl':
  commit changes to database
Signed-off-by: NJoerg Jaspert <joerg@debian.org>
......@@ -54,6 +54,10 @@ CREATE VIEW srcfiles_suite_component AS
JOIN location ON files.location = location.id;
""")
print "Committing"
c.execute("UPDATE config SET value = '23' WHERE name = 'db_revision'")
self.db.commit()
except psycopg2.InternalError, msg:
self.db.rollback()
raise DBUpdateError, "Database error, rollback issued. Error message : %s" % (str(msg))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册