adjust style, match test to other tests
(cherry picked from commit 9949163936)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user