Skip to content

Commit

Permalink
Merge pull request #58 from ZeitOnline/persistentmapping
Browse files Browse the repository at this point in the history
Update to current persistent API
  • Loading branch information
wosc authored Aug 30, 2024
2 parents 3247b8d + 06ed8ac commit 4666903
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
6.1 (unreleased)
================

- Update to ``persistent`` 6.0 API usage


6.0 (2024-05-29)
================
Expand Down
4 changes: 2 additions & 2 deletions src/zope/container/ordered.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
__docformat__ = 'restructuredtext'

from persistent import Persistent
from persistent.dict import PersistentDict
from persistent.list import PersistentList
from persistent.mapping import PersistentMapping
from zope.interface import implementer

from zope.container.contained import Contained
Expand All @@ -41,7 +41,7 @@ class OrderedContainer(Persistent, Contained):

def __init__(self):

self._data = PersistentDict()
self._data = PersistentMapping()
self._order = PersistentList()

def keys(self):
Expand Down

0 comments on commit 4666903

Please sign in to comment.