[ZODB-Dev] Typo in ZODB.ZApplication of ZODB 3.4!

Stefan H. Holek stefan at epy.co.at
Fri May 6 13:46:06 EDT 2005


I am pretty sure this should say "isinstance(connection, basestring)", 
not "type".

     def __call__(self, connection=None):
         db, aname, version_support = self._stuff

         if connection is None:
             connection=db.open()
         elif isinstance(type, basestring):
             connection=db.open(connection)

         return connection.root()[aname]

--
Software Engineering is Programming when you can't. --E. W. Dijkstra



More information about the ZODB-Dev mailing list