Commit aeb22092 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! Zope2: revive patches for Zope2.

parent f0defbb9
Pipeline #26521 running with stage
in 0 seconds
...@@ -45,9 +45,8 @@ if six.PY3: ...@@ -45,9 +45,8 @@ if six.PY3:
else: else:
WITH_LEGACY_WORKFLOW = True WITH_LEGACY_WORKFLOW = True
try: from App.version_txt import getZopeVersion
from ZPublisher.HTTPResponse import WSGIResponse if getZopeVersion()[0] == 2: # BBB Zope2
except ImportError: # BBB Zope2
IS_ZOPE2 = True IS_ZOPE2 = True
else: else:
IS_ZOPE2 = False IS_ZOPE2 = False
......
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