diff --git a/cachier/core.py b/cachier/core.py index cb7afc2..820a2cb 100644 --- a/cachier/core.py +++ b/cachier/core.py @@ -7,6 +7,11 @@ # http://www.opensource.org/licenses/MIT-license # Copyright (c) 2016, Shay Palachy +# python 2 compatibility +from __future__ import absolute_import +from __future__ import division +from __future__ import print_function + import os from functools import wraps @@ -23,7 +28,6 @@ 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