Commit a141363f authored by Adam J. Stewart's avatar Adam J. Stewart Committed by Francisco Massa
Browse files

Fix DeprecationWarning for collections.Iterable import (#1417)

* Fix DeprecationWarning for collections.Iterable import

* Simplify version comparison
parent b13931af
......@@ -5,7 +5,11 @@ import os.path
import six
import string
import sys
from collections import Iterable
if sys.version_info < (3, 3):
from collections import Iterable
else:
from collections.abc import Iterable
if sys.version_info[0] == 2:
import cPickle as pickle
......
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