Commit 8514882f authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

py3: import reload() from importlib in py3.

parent 60450873
......@@ -49,6 +49,9 @@ from Products.ERP5Type.tests.ERP5TypeTestCase import (
)
from glob import glob
import transaction
import six
if not six.PY2:
from importlib import reload
from zLOG import LOG, DEBUG, INFO
......
......@@ -61,6 +61,7 @@ if six.PY2:
FileIO = file
else:
from io import FileIO
from importlib import reload
def canonical_html(html):
......
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