Commit 723722f5 authored by Julien Muchembled's avatar Julien Muchembled

ERP5Type: remove obsolete comment/assertion in a monkey-patch to ZODB.Connection

See also http://git.erp5.org/gitweb/neoppod.git/commitdiff/54d692c?js=1
("client: drop monkey-patch that is not mandatory anymore for NEO")
parent 827772dd
......@@ -40,15 +40,8 @@ if 1: # keep indentation. Also good for quick disabling.
Connection.ping = ping
Connection.newTransaction = newTransaction
# See also neo/client/__init__.py from NEOPPOD project
if FORCE_STORAGE_SYNC_ON_CONNECTION_OPENING:
try:
if Connection._nexedi_fix != 5:
raise Exception("A different ZODB fix is already applied")
except AttributeError:
Connection._nexedi_fix = 5
# Whenever an connection is opened (and there's usually an existing one
# in DB pool that can be reused) whereas the transaction is already
# started, we must make sure that proper storage setup is done by
......
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