From b4b30c62afa190652dfd1455539812a84e6471f8 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Wed, 12 Aug 2015 12:21:11 -0700 Subject: [PATCH] [v9_10] handle time units in dnssec-coverage -r 4174. [bug] "dnssec-coverage -r" didn't handle time unit suffixes correctly. [RT #38444] --- CHANGES | 3 +++ bin/python/dnssec-coverage.py.in | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 4f8fe73905..d6aa854297 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +4174. [bug] "dnssec-coverage -r" didn't handle time unit + suffixes correctly. [RT #38444] + 4173. [bug] dig +sigchase was not properly matching the trusted key. [RT #40188] diff --git a/bin/python/dnssec-coverage.py.in b/bin/python/dnssec-coverage.py.in index 4259ea7094..39ec549ec9 100755 --- a/bin/python/dnssec-coverage.py.in +++ b/bin/python/dnssec-coverage.py.in @@ -326,7 +326,7 @@ def vspace(): if _firstline: _firstline = False else: - print() + print('') ############################################################################ # vreset: @@ -673,7 +673,7 @@ def parse_args(): parser.add_argument('-d', dest='keyttl', type=str, help='the DNSKEY TTL', metavar='time') parser.add_argument('-r', dest='resign', default='1944000', - type=int, help='the RRSIG refresh interval ' + type=str, help='the RRSIG refresh interval ' 'in seconds [default: 22.5 days]', metavar='time') parser.add_argument('-c', dest='compilezone',