From: Bob Halley Date: Sun, 23 May 2021 12:04:58 +0000 (-0700) Subject: Remove debugging prints from xfr code. X-Git-Tag: v2.2.0rc1~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bff206c69c80c32938bf52a58b86297f1e7c57a7;p=thirdparty%2Fdnspython.git Remove debugging prints from xfr code. --- 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