BF: Due to python3 bug, importlib.machinery may need explicit import

This commit is contained in:
Steven Hiscocks 2014-02-08 20:47:12 +00:00
parent 59b9045e88
commit 530cd53add

View file

@ -28,7 +28,7 @@ import time, logging
import os
import sys
if sys.version_info >= (3, 3):
import importlib
import importlib.machinery
else:
import imp
from collections import Mapping