Skip to content

Commit f77ec1c

Browse files
committed
nasm-t: no need to strip json files
The json library can handle newlines by self. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
1 parent d85890a commit f77ec1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

travis/nasm-t.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def read_json(path):
182182
try:
183183
with open(path, "rb") as f:
184184
try:
185-
desc = json.loads(f.read().decode("utf-8").strip("\n"))
185+
desc = json.loads(f.read().decode("utf-8"))
186186
except:
187187
desc = None
188188
finally:

0 commit comments

Comments
 (0)