From: Bob Halley Date: Fri, 5 Jun 2020 16:46:31 +0000 (-0700) Subject: remove no longer needed backwards compat for collections.abc.MutableMapping X-Git-Tag: v2.0.0rc1~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=981722b41c1fe9059544a36b5deb14f00536da65;p=thirdparty%2Fdnspython.git remove no longer needed backwards compat for collections.abc.MutableMapping --- diff --git a/dns/namedict.py b/dns/namedict.py index ce51e524..4c8f9abd 100644 --- a/dns/namedict.py +++ b/dns/namedict.py @@ -27,10 +27,8 @@ """DNS name dictionary""" -try: - from collections.abc import MutableMapping -except ImportError: - from collections import MutableMapping +from collections.abc import MutableMapping + import dns.name