Skip to content

Commit

Permalink
Use extension rather than the deprecated _extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed Nov 17, 2016
1 parent cb1fb18 commit d2b72af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ZODB/BaseStorage.py
Expand Up @@ -191,7 +191,7 @@ def tpc_begin(self, transaction, tid=None, status=' '):

user = transaction.user
desc = transaction.description
ext = transaction._extension
ext = transaction.extension
if ext:
ext = dumps(ext, _protocol)
else:
Expand Down
2 changes: 1 addition & 1 deletion src/ZODB/MappingStorage.py
Expand Up @@ -340,7 +340,7 @@ def __init__(self, tid, transaction, data):
self.tid = tid
self.user = transaction.user
self.description = transaction.description
extension = transaction._extension
extension = transaction.extension
self.extension = extension
self.data = data

Expand Down

0 comments on commit d2b72af

Please sign in to comment.