Commit 03a4d20f authored by Jim Fulton's avatar Jim Fulton

Made MappingStorage a new-style class.

parent 9dd6c6a3
...@@ -27,7 +27,7 @@ import ZODB.TimeStamp ...@@ -27,7 +27,7 @@ import ZODB.TimeStamp
import ZODB.utils import ZODB.utils
import zope.interface import zope.interface
class MappingStorage: class MappingStorage(object):
zope.interface.implements( zope.interface.implements(
ZODB.interfaces.IStorage, ZODB.interfaces.IStorage,
......
...@@ -94,7 +94,7 @@ You can't put blobs into a database that has uses a Non-Blob-Storage, though: ...@@ -94,7 +94,7 @@ You can't put blobs into a database that has uses a Non-Blob-Storage, though:
>>> transaction2.commit() # doctest: +ELLIPSIS >>> transaction2.commit() # doctest: +ELLIPSIS
Traceback (most recent call last): Traceback (most recent call last):
... ...
Unsupported: Storing Blobs in <ZODB.MappingStorage.MappingStorage instance at ...> is not supported. Unsupported: Storing Blobs in <ZODB.MappingStorage.MappingStorage object at ...> is not supported.
>>> transaction2.abort() >>> transaction2.abort()
>>> connection2.close() >>> connection2.close()
......
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