diff --git a/migrate/changeset/databases/sqlite.py b/migrate/changeset/databases/sqlite.py index d44b3b3..908c800 100644 --- a/migrate/changeset/databases/sqlite.py +++ b/migrate/changeset/databases/sqlite.py @@ -4,7 +4,7 @@ .. _`SQLite`: http://www.sqlite.org/ """ try: # Python 3 - from collections import MutableMapping as DictMixin + from collections.abc import MutableMapping as DictMixin except ImportError: # Python 2 from UserDict import DictMixin from copy import copy diff --git a/migrate/changeset/schema.py b/migrate/changeset/schema.py index f4b8f4c..a33be4b 100644 --- a/migrate/changeset/schema.py +++ b/migrate/changeset/schema.py @@ -3,7 +3,7 @@ """ import abc try: # Python 3 - from collections import MutableMapping as DictMixin + from collections.abc import MutableMapping as DictMixin except ImportError: # Python 2 from UserDict import DictMixin import warnings