Blame SOURCES/0001-import-MutableMapping-from-collections.abc.patch
|
rdobuilder |
41a366 |
From e88a14f86390b22ee55a810d0cd1b68c32c54423 Mon Sep 17 00:00:00 2001
|
|
rdobuilder |
41a366 |
From: Tomas Hrnciar <thrnciar@redhat.com>
|
|
rdobuilder |
41a366 |
Date: Wed, 16 Jun 2021 13:29:20 +0200
|
|
rdobuilder |
41a366 |
Subject: [PATCH] import MutableMapping from collections.abc
|
|
rdobuilder |
41a366 |
|
|
rdobuilder |
41a366 |
---
|
|
rdobuilder |
41a366 |
dns/namedict.py | 4 ++--
|
|
rdobuilder |
41a366 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
rdobuilder |
41a366 |
|
|
rdobuilder |
41a366 |
diff --git a/dnspython-1.16.0/dns/namedict.py b/dnspython-1.16.0/dns/namedict.py
|
|
rdobuilder |
41a366 |
index 37a1310..ae8d6a4 100644
|
|
rdobuilder |
41a366 |
--- a/dns/namedict.py
|
|
rdobuilder |
41a366 |
+++ b/dns/namedict.py
|
|
rdobuilder |
41a366 |
@@ -27,12 +27,12 @@
|
|
rdobuilder |
41a366 |
|
|
rdobuilder |
41a366 |
"""DNS name dictionary"""
|
|
rdobuilder |
41a366 |
|
|
rdobuilder |
41a366 |
-import collections
|
|
rdobuilder |
41a366 |
+from collections.abc import MutableMapping
|
|
rdobuilder |
41a366 |
import dns.name
|
|
rdobuilder |
41a366 |
from ._compat import xrange
|
|
rdobuilder |
41a366 |
|
|
rdobuilder |
41a366 |
|
|
rdobuilder |
41a366 |
-class NameDict(collections.MutableMapping):
|
|
rdobuilder |
41a366 |
+class NameDict(MutableMapping):
|
|
rdobuilder |
41a366 |
"""A dictionary whose keys are dns.name.Name objects.
|
|
rdobuilder |
41a366 |
|
|
rdobuilder |
41a366 |
In addition to being like a regular Python dictionary, this
|
|
rdobuilder |
41a366 |
--
|
|
rdobuilder |
41a366 |
2.31.1
|
|
rdobuilder |
41a366 |
|