From 83e3caeef916ef672b0b3f8a4c40e46831dce1c9 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Tue, 23 Feb 2016 17:42:50 +1100 Subject: [PATCH] batch-run: fix abspath --- batch-run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/batch-run b/batch-run index dcb60d8..5290dc8 100755 --- a/batch-run +++ b/batch-run @@ -80,8 +80,9 @@ def parse_args(): def main(): opts, args = parse_args() - filenames = map(os.path.abspath, args) + filenames = list(map(os.path.abspath, args)) for filename in filenames: + print("Processing", filename) make_and_chdir(filename) with open(filename) as fd: batch_process(opts, parse_file(fd)) -- 2.39.2