Skip to content

Commit

Permalink
Update for transaction 2.0.3 (extended_info -> extension)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed Nov 17, 2016
1 parent f0f0035 commit fb62385
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def read_file(*path):
'persistent >= 4.2.0',
'BTrees >= 4.2.0',
'ZConfig',
'transaction >= 2.0.0',
'transaction >= 2.0.3',
'six',
'zc.lockfile',
'zope.interface',
Expand Down
2 changes: 1 addition & 1 deletion src/ZODB/Connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def tpc_begin(self, transaction):
meta_data = TransactionMetaData(
transaction.user,
transaction.description,
transaction.extended_info)
transaction.extension)
transaction.set_data(self, meta_data)

# _creating is a list of oids of new objects, which is used to
Expand Down
2 changes: 1 addition & 1 deletion src/ZODB/DB.py
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ def tpc_begin(self, transaction):
tdata = TransactionMetaData(
transaction.user,
transaction.description,
transaction.extended_info)
transaction.extension)
transaction.set_data(self, tdata)
self._storage.tpc_begin(tdata)

Expand Down

0 comments on commit fb62385

Please sign in to comment.