From 5d83e11b3407b9d0b676922ead42ec72b6fbb7c1 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Wed, 1 Jul 2015 12:36:38 +0200 Subject: [PATCH] fixed tsmerge behavior when reading files from ascii list --- scripts/tsmerge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tsmerge.py b/scripts/tsmerge.py index a15bdf5..8372c5e 100644 --- a/scripts/tsmerge.py +++ b/scripts/tsmerge.py @@ -155,7 +155,7 @@ if __name__ == "__main__": files = kwargs["files"] allfiles = [] if os.path.isfile(files): - allfiles = open(files).readlines() + allfiles = open(files).read().splitlines() else: allfiles = glob.glob(files) -- libgit2 0.21.4