Commit bb3bc4b7 authored by Jeremy Hylton's avatar Jeremy Hylton

replace type('') op with import from types module

parent 68d55d8f
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
############################################################################## ##############################################################################
"""Database objects """Database objects
$Id: DB.py,v 1.31 2001/05/22 23:00:39 jeremy Exp $""" $Id: DB.py,v 1.32 2001/05/22 23:01:45 jeremy Exp $"""
__version__='$Revision: 1.31 $'[11:-2] __version__='$Revision: 1.32 $'[11:-2]
import cPickle, cStringIO, sys, POSException, UndoLogCompatible import cPickle, cStringIO, sys, POSException, UndoLogCompatible
from Connection import Connection from Connection import Connection
...@@ -95,7 +95,7 @@ from referencesf import referencesf ...@@ -95,7 +95,7 @@ from referencesf import referencesf
from time import time, ctime from time import time, ctime
from zLOG import LOG, ERROR from zLOG import LOG, ERROR
StringType=type('') from types import StringType
class DB(UndoLogCompatible.UndoLogCompatible): class DB(UndoLogCompatible.UndoLogCompatible):
"""The Object Database """The Object Database
......
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