From 707c481d661326102162c5fa19524999c144233f Mon Sep 17 00:00:00 2001 From: Gil Forcada Date: Mon, 12 Nov 2018 00:38:35 +0100 Subject: [PATCH] Avoid a deprecation warning --- CHANGES.rst | 2 ++ plone/registry/recordsproxy.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index b6027eb..25f175f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -17,6 +17,8 @@ Bug fixes: - Adapt test to changed object field in zope4 [pbauer] +- Avoid a deprecation warning that would turn into an error on Python 3.8. + [gforcada] 1.1.3 (2018-06-22) ------------------ diff --git a/plone/registry/recordsproxy.py b/plone/registry/recordsproxy.py index 06c39ac..47182f9 100644 --- a/plone/registry/recordsproxy.py +++ b/plone/registry/recordsproxy.py @@ -14,7 +14,7 @@ from UserDict import DictMixin except ImportError: from collections import UserDict - from collections import MutableMapping as DictMixin + from collections.abc import MutableMapping as DictMixin if sys.version_info >= (3,): basestring = str