]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
style
authorMark Andrews <marka@isc.org>
Wed, 25 May 2016 03:41:48 +0000 (13:41 +1000)
committerMark Andrews <marka@isc.org>
Wed, 25 May 2016 03:41:48 +0000 (13:41 +1000)
bin/python/isc/checkds.py

index 57e027a97741c1ef7873b3918b93d0240227f5f6..7ea19e97d317a951375df069cc16cc99217617ab 100644 (file)
@@ -128,23 +128,23 @@ def check(zone, args, masterfile=None, lookaside=None):
         klist.append(SECRR(line, lookaside))
 
     if len(klist) < 1:
-        print ("No DNSKEY records found in zone apex")
+        print("No DNSKEY records found in zone apex")
         return False
 
     found = False
     for rr in klist:
         if rr in rrlist:
-            print ("%s for KSK %s/%03d/%05d (%s) found in parent" %
-                   (rr.rrtype, rr.rrname.strip('.'), rr.keyalg,
-                    rr.keyid, SECRR.hashalgs[rr.hashalg]))
+            print("%s for KSK %s/%03d/%05d (%s) found in parent" %
+                  (rr.rrtype, rr.rrname.strip('.'), rr.keyalg,
+                   rr.keyid, SECRR.hashalgs[rr.hashalg]))
             found = True
         else:
-            print ("%s for KSK %s/%03d/%05d (%s) missing from parent" %
-                   (rr.rrtype, rr.rrname.strip('.'), rr.keyalg,
-                    rr.keyid, SECRR.hashalgs[rr.hashalg]))
+            print("%s for KSK %s/%03d/%05d (%s) missing from parent" %
+                  (rr.rrtype, rr.rrname.strip('.'), rr.keyalg,
+                   rr.keyid, SECRR.hashalgs[rr.hashalg]))
 
     if not found:
-        print ("No %s records were found for any DNSKEY" % ("DLV" if lookaside else "DS"))
+        print("No %s records were found for any DNSKEY" % ("DLV" if lookaside else "DS"))
 
     return found