Commit 7d72c292 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Second parameter of deleteTransaction is optional.

deleteTransaction is used by replication to remove a single transaction but
not its content.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2407 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 77c7369c
......@@ -502,7 +502,7 @@ class MySQLDatabaseManager(DatabaseManager):
raise
self.commit()
def deleteTransaction(self, tid, oid_list):
def deleteTransaction(self, tid, oid_list=()):
q = self.query
u64 = util.u64
tid = u64(tid)
......
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