Commit cc740218 authored by Jérome Perrin's avatar Jérome Perrin

fixup! py2/py3: Make Products code compatible with both python2 and python3.

parent 1e47124e
......@@ -23,7 +23,7 @@ ZServer hook to dump a traceback of the running python threads.
"""
import six
import _thread
from six.moves import _thread
from sys import _current_frames
from six.moves import cStringIO as StringIO
import traceback
......@@ -114,7 +114,7 @@ def match(self, request):
return 1
else:
return 0
import six
if six.PY2:
from ZServer.HTTPServer import zhttp_handler
zhttp_handler.match = match
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