summaryrefslogtreecommitdiff
path: root/lib/dnspython/dns/message.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dnspython/dns/message.py')
-rw-r--r--lib/dnspython/dns/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dnspython/dns/message.py b/lib/dnspython/dns/message.py
index 5ec711e1eb..a124a3e177 100644
--- a/lib/dnspython/dns/message.py
+++ b/lib/dnspython/dns/message.py
@@ -686,7 +686,7 @@ class _WireReader(object):
deleting = None
if deleting == dns.rdataclass.ANY or \
(deleting == dns.rdataclass.NONE and \
- section == self.message.answer):
+ section is self.message.answer):
covers = dns.rdatatype.NONE
rd = None
else: