aboutsummaryrefslogtreecommitdiffstats
path: root/travis
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-09-17 01:13:25 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-09-18 00:49:11 +0300
commitf77ec1c8032ebd559dbcb2070c8356d688e261cc (patch)
tree12860c8601f234c967996b898867107b0df46c7b /travis
parentd85890aac74040abbddb32052f72eda0f52f4039 (diff)
downloadnasm-f77ec1c8032ebd559dbcb2070c8356d688e261cc.tar.gz
nasm-f77ec1c8032ebd559dbcb2070c8356d688e261cc.tar.xz
nasm-f77ec1c8032ebd559dbcb2070c8356d688e261cc.zip
nasm-t: no need to strip json files
The json library can handle newlines by self. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/nasm-t.py2
1 files changed, 1 insertions, 1 deletions
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: