[nasm:nasm-2.15.xx-travis] nasm-t: no need to strip json files
nasm-bot for Cyrill Gorcunov
gorcunov at gmail.com
Thu Sep 17 15:09:05 PDT 2020
Commit-ID: f77ec1c8032ebd559dbcb2070c8356d688e261cc
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=f77ec1c8032ebd559dbcb2070c8356d688e261cc
Author: Cyrill Gorcunov <gorcunov at gmail.com>
AuthorDate: Thu, 17 Sep 2020 01:13:25 +0300
Committer: Cyrill Gorcunov <gorcunov at gmail.com>
CommitDate: Fri, 18 Sep 2020 00:49:11 +0300
nasm-t: no need to strip json files
The json library can handle newlines by self.
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
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:
More information about the Nasm-commits
mailing list