Skip to content

Commit

Permalink
Add zodbupdate decode mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Sep 29, 2018
1 parent 9700c7d commit e383c71
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Changelog

- Zope trunk compatibility for product init.

- Added decode mapping for zodbupdate migration to Python 3.

1.1.3 - 2010-10-02
------------------

Expand Down
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,9 @@
'ZODB3',
'Zope2',
],
entry_points={
'zodbupdate.decode': [
'decodes = Products.ZopeVersionControl:zodbupdate_decode_dict',
],
},
)
5 changes: 5 additions & 0 deletions src/Products/ZopeVersionControl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,8 @@ def registerIcon(filename):
setattr(info, filename,
ImageFile('www/%s' % filename, globals())
)


zodbupdate_decode_dict = {
'Products.ZopeVersionControl.EventLog LogEntry message': 'binary',
}

0 comments on commit e383c71

Please sign in to comment.