Commit 9c5462ab authored by Michael Howitz's avatar Michael Howitz Committed by Xavier Thompson

Fix DeprecationWarning about MutableMapping.

Fixes #484.

(cherry picked from commit 5aa3e5bd)
parent 241949f0
...@@ -23,9 +23,9 @@ except ImportError: ...@@ -23,9 +23,9 @@ except ImportError:
from md5 import md5 from md5 import md5
try: try:
from UserDict import DictMixin from collections.abc import MutableMapping as DictMixin
except ImportError: except ImportError:
from collections import MutableMapping as DictMixin from UserDict import DictMixin
try: try:
from cStringIO import StringIO from cStringIO import StringIO
......
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