2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-10 11:35:24 +00:00

adjust style, match test to other tests

This commit is contained in:
Evan Hunt
2019-02-07 16:42:12 -08:00
parent a159675f44
commit 9949163936
5 changed files with 18 additions and 17 deletions

View File

@@ -188,9 +188,9 @@ def parse_args():
if args.filename and len(args.zone) > 1:
fatal("ERROR: -f can only be used with one zone.")
# strip trailing dots
args.zone = [x[:-1] if len(x) > 1 and x[-1] == '.' else x
for x in args.zone]
# strip trailing dots if any
args.zone = [x[:-1] if (len(x) > 1 and x[-1] == '.') else x
for x in args.zone]
# convert from time arguments to seconds
try: