adjust style, match test to other tests

(cherry picked from commit 9949163936)
This commit is contained in:
Evan Hunt
2019-02-07 16:42:12 -08:00
parent 5a090dd203
commit d3a962db1e
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: