[Zope-Checkins] SVN: Zope/trunk/lib/python/App/ZApplication.py support for ZODB 3.9

Andreas Jung andreas at andreas-jung.com
Mon Jan 26 00:17:35 EST 2009


Log message for revision 95018:
  support for ZODB 3.9
  

Changed:
  U   Zope/trunk/lib/python/App/ZApplication.py

-=-
Modified: Zope/trunk/lib/python/App/ZApplication.py
===================================================================
--- Zope/trunk/lib/python/App/ZApplication.py	2009-01-26 05:15:17 UTC (rev 95017)
+++ Zope/trunk/lib/python/App/ZApplication.py	2009-01-26 05:17:34 UTC (rev 95018)
@@ -45,7 +45,12 @@
         if version_support is not None and REQUEST is not None:
             version=REQUEST.get(version_support,'')
         else: version=''
-        conn=db.open(version)
+    
+#        conn=db.open(version)
+        # 'version' argument no longer support with ZODB 3.9.
+        # The cruft for version_support can likely be removed!?
+        # (ajung, 2009/01/26)
+        conn = db.open()
 
         if connection_open_hooks:
             for hook in connection_open_hooks:



More information about the Zope-Checkins mailing list