fix python 2.7 for real

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2018-03-02 18:30:24 -05:00
parent 4584b59190
commit e5dece7242
+5 -1
View File
@@ -18,7 +18,11 @@ import warnings
try:
from weakref import finalize
except ImportError:
from backports.weakref import finalize
try:
from backports.weakref import finalize
except ImportError:
pass
from time import time
logging.basicConfig(level=logging.ERROR)