[Zope3-checkins] CVS: ZODB4/src/zodb/storage - base.py:1.29.6.1
Jeremy Hylton
jeremy@zope.com
Thu, 19 Jun 2003 10:58:28 -0400
Update of /cvs-repository/ZODB4/src/zodb/storage
In directory cvs.zope.org:/tmp/cvs-serv21173
Modified Files:
Tag: ZODB3-2-merge
base.py
Log Message:
Get rid of stub class needed by old demo storage implementation.
=== ZODB4/src/zodb/storage/base.py 1.29 => 1.29.6.1 ===
--- ZODB4/src/zodb/storage/base.py:1.29 Thu May 15 16:59:03 2003
+++ ZODB4/src/zodb/storage/base.py Thu Jun 19 10:58:28 2003
@@ -36,16 +36,6 @@
berkeley_is_available = True
except ImportError:
berkeley_is_available = False
- # But, DemoStorage piggybacks on the implementation of BDBFullStorage so
- # create a fake db object that has some useful constants.
- class db:
- DB_QUEUE = 1
- DB_DUP = 2
- DB_FORCE = 3
-
- class DBNotFoundError(Exception): pass
- class DBKeyEmpty(Exception): pass
-
from zodb.conflict import ConflictResolver
from zodb.timestamp import newTimeStamp, TimeStamp