[Zodb-checkins] CVS: ZODB3/BDBStorage - BDBFullStorage.py:1.75

Jeremy Hylton jeremy at zope.com
Thu Oct 2 19:56:13 EDT 2003


Update of /cvs-repository/ZODB3/BDBStorage
In directory cvs.zope.org:/tmp/cvs-serv9022/BDBStorage

Modified Files:
	BDBFullStorage.py 
Log Message:
Remove Python 2.1 workarounds


=== ZODB3/BDBStorage/BDBFullStorage.py 1.74 => 1.75 ===
--- ZODB3/BDBStorage/BDBFullStorage.py:1.74	Thu Oct  2 14:17:32 2003
+++ ZODB3/BDBStorage/BDBFullStorage.py	Thu Oct  2 19:56:13 2003
@@ -39,19 +39,7 @@
 # DEBUGGING
 #DNE = 'nonexist'
 
-try:
-    # Python 2.2
-    from _helper import incr
-except ImportError:
-    # Python 2.1
-    def incr(refcount, delta):
-        return p64(U64(refcount) + delta)
-
-try:
-    True, False
-except NameError:
-    True = 1
-    False = 0
+from _helper import incr
 
 BDBFULL_SCHEMA_VERSION = 'BF01'
 




More information about the Zodb-checkins mailing list