From f77ec1c8032ebd559dbcb2070c8356d688e261cc Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Thu, 17 Sep 2020 01:13:25 +0300 Subject: [PATCH] nasm-t: no need to strip json files The json library can handle newlines by self. Signed-off-by: Cyrill Gorcunov --- travis/nasm-t.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/travis/nasm-t.py b/travis/nasm-t.py index adcdbab9..ac976431 100755 --- a/travis/nasm-t.py +++ b/travis/nasm-t.py @@ -182,7 +182,7 @@ def read_json(path): try: with open(path, "rb") as f: try: - desc = json.loads(f.read().decode("utf-8").strip("\n")) + desc = json.loads(f.read().decode("utf-8")) except: desc = None finally: