[Zope3-checkins] CVS: Zope3/src/zodb/storage - base.py:1.28 demo.py:1.10 fsrecover.py:1.4 mapping.py:1.9 memory.py:1.3
Martijn Faassen
m.faassen@vet.uu.nl
Thu, 1 May 2003 15:36:02 -0400
Update of /cvs-repository/Zope3/src/zodb/storage
In directory cvs.zope.org:/tmp/cvs-serv30407/zodb/storage
Modified Files:
base.py demo.py fsrecover.py mapping.py memory.py
Log Message:
Importgeddon part the second. Removed unused imports throughout the
source tree. This should have taken care of most unused imports
in Zope 3. :)
=== Zope3/src/zodb/storage/base.py 1.27 => 1.28 ===
--- Zope3/src/zodb/storage/base.py:1.27 Tue Apr 22 11:23:13 2003
+++ Zope3/src/zodb/storage/base.py Thu May 1 15:35:00 2003
@@ -54,7 +54,6 @@
# BaseStorage provides primitives for lock acquisition and release, and a host
# of other methods, some of which are overridden here, some of which are not.
from zodb.lockfile import LockFile
-from zodb.serialize import findrefs
from zodb.utils import p64, u64
GBYTES = 1024 * 1024 * 1000
=== Zope3/src/zodb/storage/demo.py 1.9 => 1.10 ===
--- Zope3/src/zodb/storage/demo.py:1.9 Thu Apr 24 15:17:16 2003
+++ Zope3/src/zodb/storage/demo.py Thu May 1 15:35:00 2003
@@ -27,7 +27,7 @@
$Id$
"""
-from zodb.interfaces import VersionLockError, ConflictError
+from zodb.interfaces import VersionLockError
from zodb.storage.memory import MemoryFullStorage
from zodb.storage.interfaces import *
=== Zope3/src/zodb/storage/fsrecover.py 1.3 => 1.4 ===
--- Zope3/src/zodb/storage/fsrecover.py:1.3 Wed Feb 5 18:28:32 2003
+++ Zope3/src/zodb/storage/fsrecover.py Thu May 1 15:35:00 2003
@@ -80,7 +80,7 @@
import ZODB
-import getopt, ZODB.FileStorage, struct, time
+import getopt, ZODB.FileStorage, time
from struct import unpack
from zodb.utils import t32, p64, u64
from zodb.timestamp import TimeStamp
=== Zope3/src/zodb/storage/mapping.py 1.8 => 1.9 ===
--- Zope3/src/zodb/storage/mapping.py:1.8 Wed Apr 9 13:58:45 2003
+++ Zope3/src/zodb/storage/mapping.py Thu May 1 15:35:00 2003
@@ -24,7 +24,6 @@
$Id$
"""
-import zodb.db
from zodb import interfaces, utils
from zodb.storage.base import BaseStorage
from zodb.storage.interfaces import *
=== Zope3/src/zodb/storage/memory.py 1.2 => 1.3 ===
--- Zope3/src/zodb/storage/memory.py:1.2 Tue Apr 22 11:23:13 2003
+++ Zope3/src/zodb/storage/memory.py Thu May 1 15:35:00 2003
@@ -35,7 +35,6 @@
as the fronting storage.
"""
-import os
import bisect
from zodb.storage.base import db