Commit f68b2a05 authored by Andreas Jung's avatar Andreas Jung

support for ZODB 3.9

parent f4cd98b7
...@@ -45,7 +45,12 @@ class ZApplicationWrapper: ...@@ -45,7 +45,12 @@ class ZApplicationWrapper:
if version_support is not None and REQUEST is not None: if version_support is not None and REQUEST is not None:
version=REQUEST.get(version_support,'') version=REQUEST.get(version_support,'')
else: version='' 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: if connection_open_hooks:
for hook in connection_open_hooks: for hook in connection_open_hooks:
......
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