From bff206c69c80c32938bf52a58b86297f1e7c57a7 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sun, 23 May 2021 05:04:58 -0700 Subject: [PATCH] Remove debugging prints from xfr code. --- dns/xfr.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/dns/xfr.py b/dns/xfr.py index 0e0fb2d1..cf9a163e 100644 --- a/dns/xfr.py +++ b/dns/xfr.py @@ -125,8 +125,6 @@ class Inbound: elif dns.serial.Serial(self.soa_rdataset[0].serial) < \ self.serial: # It went backwards! - print(dns.serial.Serial(self.soa_rdataset[0].serial), - self.serial) raise SerialWentBackwards else: if self.is_udp and len(message.answer[answer_index:]) == 0: @@ -310,7 +308,6 @@ def extract_serial_from_query(query): return None elif question.rdtype != dns.rdatatype.IXFR: raise ValueError("query is not an AXFR or IXFR") - print(question.name, question.rdclass) soa = query.find_rrset(query.authority, question.name, question.rdclass, dns.rdatatype.SOA) return soa[0].serial -- 2.47.3