# HG changeset patch # User Nsukami Patrick # Date 1555562423 0 # Node ID ce089224954d0d8d383a300c6a0a0d3233b04930 # Parent d06a2feae373d5460a263f9a5abc6d0af3480dc9 Fix DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated diff -r d06a2feae373 -r ce089224954d cubicweb/multipart.py --- a/cubicweb/multipart.py Thu Apr 18 04:34:34 2019 +0000 +++ b/cubicweb/multipart.py Thu Apr 18 04:40:23 2019 +0000 @@ -50,7 +50,7 @@ # Some of these were copied from bottle: http://bottle.paws.de/ try: - from collections import MutableMapping as DictMixin + from collections.abc import MutableMapping as DictMixin except ImportError: # pragma: no cover (fallback for Python 2.5) from UserDict import DictMixin