From c6b32e05d15c428d37d5bf2ee6b5a7210d4a1dbf Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 11 Sep 2020 11:40:18 -0500 Subject: devalloc: prototype --- Biz/lint.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Biz') diff --git a/Biz/lint.py b/Biz/lint.py index 88720b3..4d760d2 100755 --- a/Biz/lint.py +++ b/Biz/lint.py @@ -35,7 +35,8 @@ def run(cmd, file): msg = ret.stdout.decode("utf-8").strip() print(Color.WARN + f"lint error: {cmd}: {file}" + Color.END) if msg: - print(msg) + for line in msg.split("\n"): + print(" " + line) def changed_files(): -- cgit v1.2.3