[Zope-Checkins] CVS: Zope2 - DB.py:1.32
jeremy@digicool.com
jeremy@digicool.com
Tue, 22 May 2001 19:01:46 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/ZODB
In directory korak.digicool.com:/tmp/cvs-serv8583
Modified Files:
DB.py
Log Message:
replace type('') op with import from types module
--- Updated File DB.py in package Zope2/lib/python/ZODB --
--- DB.py 2001/05/22 23:00:39 1.31
+++ DB.py 2001/05/22 23:01:45 1.32
@@ -95,7 +95,7 @@
from time import time, ctime
from zLOG import LOG, ERROR
-StringType=type('')
+from types import StringType
class DB(UndoLogCompatible.UndoLogCompatible):
"""The Object Database
--- Updated File DB.py in package Zope2 --
--- DB.py 2001/05/22 23:00:39 1.31
+++ DB.py 2001/05/22 23:01:45 1.32
@@ -95,7 +95,7 @@
from time import time, ctime
from zLOG import LOG, ERROR
-StringType=type('')
+from types import StringType
class DB(UndoLogCompatible.UndoLogCompatible):
"""The Object Database