From 279f8c6c79f29b4009a7448fdecbc7f9a36a0c1d Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Sat, 27 Feb 2021 22:14:09 -0500 Subject: oeb and lsv: newline changes, use in makeplan --- lsv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lsv.py') diff --git a/lsv.py b/lsv.py index 64857ab..98d1207 100755 --- a/lsv.py +++ b/lsv.py @@ -5,12 +5,12 @@ import os import sys def printf(line): - if line: + if line.strip(): notref = ' '.join(line.split(' ')[2:]).strip() notref = notref.replace('||', "\n") print(notref, end=' ') else: - print('') + print() def eprint(*args, **kwargs): print(*args, file=sys.stderr, **kwargs) -- cgit 1.4.1