diff options
author | Zuul <zuul@review.openstack.org> | 2019-01-21 22:17:29 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-01-21 22:17:29 +0000 |
commit | f0664995a1aa0a533520f7787a453a429cc95b4a (patch) | |
tree | 08c24d02c4c125c36530c61a6366b0e8477ab98c | |
parent | 6803334bb12ccea80c3388a548f91edd8ec7e5fb (diff) | |
parent | a00dab7bcfb815ce370e14d1b33f328d5aee1c0d (diff) | |
download | sqlalchemy-migrate-f0664995a1aa0a533520f7787a453a429cc95b4a.tar.gz |
Merge "Import MutableMapping from the correct Python module"
-rw-r--r-- | migrate/changeset/databases/sqlite.py | 2 | ||||
-rw-r--r-- | migrate/changeset/schema.py | 2 |
2 files changed, 2 insertions, 2 deletions
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 |