Commit aeb22092 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! Zope2: revive patches for Zope2.

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