Commit ec014812 authored by Jeremy Hylton's avatar Jeremy Hylton

Move referencesf to ZODB.serialize.

parent 184d60a2
...@@ -39,7 +39,7 @@ import zLOG ...@@ -39,7 +39,7 @@ import zLOG
from ZODB.ConflictResolution import ResolvedSerial from ZODB.ConflictResolution import ResolvedSerial
from ZODB.POSException import StorageError, StorageTransactionError from ZODB.POSException import StorageError, StorageTransactionError
from ZODB.POSException import TransactionError, ReadOnlyError, ConflictError from ZODB.POSException import TransactionError, ReadOnlyError, ConflictError
from ZODB.referencesf import referencesf from ZODB.serialize import referencesf
from ZODB.Transaction import Transaction from ZODB.Transaction import Transaction
from ZODB.utils import u64, oid_repr from ZODB.utils import u64, oid_repr
......
...@@ -19,7 +19,7 @@ from tempfile import TemporaryFile ...@@ -19,7 +19,7 @@ from tempfile import TemporaryFile
from ZODB.POSException import ExportError from ZODB.POSException import ExportError
from ZODB.utils import p64, u64 from ZODB.utils import p64, u64
from ZODB.referencesf import referencesf from ZODB.serialize import referencesf
import zLOG import zLOG
class ExportImport: class ExportImport:
......
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
import struct import struct
from ZODB.POSException import POSKeyError from ZODB.POSException import POSKeyError
from ZODB.referencesf import referencesf from ZODB.serialize import referencesf
from ZODB.utils import p64, u64, z64, oid_repr, t32 from ZODB.utils import p64, u64, z64, oid_repr, t32
from zLOG import LOG, BLATHER, WARNING, ERROR, PANIC from zLOG import LOG, BLATHER, WARNING, ERROR, PANIC
......
...@@ -26,7 +26,7 @@ a backpointer after that time. ...@@ -26,7 +26,7 @@ a backpointer after that time.
import os import os
from ZODB.referencesf import referencesf from ZODB.serialize import referencesf
from ZODB.utils import p64, u64, z64 from ZODB.utils import p64, u64, z64
from ZODB.fsIndex import fsIndex from ZODB.fsIndex import fsIndex
......
...@@ -32,7 +32,7 @@ import os ...@@ -32,7 +32,7 @@ import os
import struct import struct
from types import StringType from types import StringType
from ZODB.referencesf import referencesf from ZODB.serialize import referencesf
from ZODB.utils import p64, u64, z64, oid_repr from ZODB.utils import p64, u64, z64, oid_repr
from zLOG import LOG, BLATHER, WARNING, ERROR, PANIC from zLOG import LOG, BLATHER, WARNING, ERROR, PANIC
......
...@@ -365,7 +365,7 @@ def recover(inp, outp, verbose=0, partial=0, force=0, pack=0): ...@@ -365,7 +365,7 @@ def recover(inp, outp, verbose=0, partial=0, force=0, pack=0):
if pack is not None: if pack is not None:
print "Packing ..." print "Packing ..."
from ZODB.referencesf import referencesf from ZODB.serialize import referencesf
ofs.pack(pack, referencesf) ofs.pack(pack, referencesf)
ofs.close() ofs.close()
......
This diff is collapsed.
...@@ -30,7 +30,7 @@ import time ...@@ -30,7 +30,7 @@ import time
from ZODB import DB from ZODB import DB
from persistent import Persistent from persistent import Persistent
from persistent.mapping import PersistentMapping from persistent.mapping import PersistentMapping
from ZODB.referencesf import referencesf from ZODB.serialize import referencesf
from ZODB.tests.MinPO import MinPO from ZODB.tests.MinPO import MinPO
from ZODB.tests.StorageTestBase import snooze from ZODB.tests.StorageTestBase import snooze
from ZODB.POSException import ConflictError, StorageError from ZODB.POSException import ConflictError, StorageError
......
...@@ -17,7 +17,7 @@ from ZODB.Transaction import Transaction ...@@ -17,7 +17,7 @@ from ZODB.Transaction import Transaction
from ZODB.tests.IteratorStorage import IteratorDeepCompare from ZODB.tests.IteratorStorage import IteratorDeepCompare
from ZODB.tests.StorageTestBase import MinPO, zodb_unpickle, snooze from ZODB.tests.StorageTestBase import MinPO, zodb_unpickle, snooze
from ZODB import DB from ZODB import DB
from ZODB.referencesf import referencesf from ZODB.serialize import referencesf
import time import time
......
...@@ -20,7 +20,7 @@ import time ...@@ -20,7 +20,7 @@ import time
import types import types
from ZODB import POSException from ZODB import POSException
from ZODB.Transaction import Transaction from ZODB.Transaction import Transaction
from ZODB.referencesf import referencesf from ZODB.serialize import referencesf
from ZODB.utils import u64, p64 from ZODB.utils import u64, p64
from ZODB import DB from ZODB import DB
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
import time import time
from ZODB import POSException from ZODB import POSException
from ZODB.referencesf import referencesf from ZODB.serialize import referencesf
from ZODB.Transaction import Transaction from ZODB.Transaction import Transaction
from ZODB.tests.MinPO import MinPO from ZODB.tests.MinPO import MinPO
from ZODB.tests.StorageTestBase import zodb_unpickle from ZODB.tests.StorageTestBase import zodb_unpickle
......
...@@ -19,7 +19,7 @@ Any storage that supports versions should be able to pass all these tests. ...@@ -19,7 +19,7 @@ Any storage that supports versions should be able to pass all these tests.
import time import time
from ZODB import POSException from ZODB import POSException
from ZODB.referencesf import referencesf from ZODB.serialize import referencesf
from ZODB.Transaction import Transaction from ZODB.Transaction import Transaction
from ZODB.tests.MinPO import MinPO from ZODB.tests.MinPO import MinPO
from ZODB.tests.StorageTestBase import zodb_unpickle, snooze from ZODB.tests.StorageTestBase import zodb_unpickle, snooze
......
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