Commit d2b72af8 authored by Jim Fulton's avatar Jim Fulton

Use ``extension`` rather than the deprecated ``_extension``.

parent cb1fb18e
...@@ -191,7 +191,7 @@ class BaseStorage(UndoLogCompatible): ...@@ -191,7 +191,7 @@ class BaseStorage(UndoLogCompatible):
user = transaction.user user = transaction.user
desc = transaction.description desc = transaction.description
ext = transaction._extension ext = transaction.extension
if ext: if ext:
ext = dumps(ext, _protocol) ext = dumps(ext, _protocol)
else: else:
......
...@@ -340,7 +340,7 @@ class TransactionRecord: ...@@ -340,7 +340,7 @@ class TransactionRecord:
self.tid = tid self.tid = tid
self.user = transaction.user self.user = transaction.user
self.description = transaction.description self.description = transaction.description
extension = transaction._extension extension = transaction.extension
self.extension = extension self.extension = extension
self.data = data self.data = data
......
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