importint print function from future in python 2

This commit is contained in:
Shay Palachy
2017-04-25 00:27:10 +03:00
parent 949d625010
commit 9d1ed36c18
+1
View File
@@ -23,6 +23,7 @@ except ImportError: # we're in python 2.x
if 'futures' not in PACKAGES:
pip.main(['install', 'futures'])
from concurrent.futures import ThreadPoolExecutor
from __future__ import print_function
from .pickle_core import _PickleCore
from .mongo_core import _MongoCore