diff options
| author | Zach DeCook <zachdecook@librem.one> | 2021-02-27 22:14:09 -0500 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2021-02-27 22:14:09 -0500 |
| commit | 279f8c6c79f29b4009a7448fdecbc7f9a36a0c1d (patch) | |
| tree | 54d187eb40f9716ecbe1ba1927027d40d305007e /lsv.py | |
| parent | 42543a360631a47aa0308fafb198d4fe27e182fd (diff) | |
| download | cgi-bin-279f8c6c79f29b4009a7448fdecbc7f9a36a0c1d.tar.gz | |
oeb and lsv: newline changes, use in makeplan
Diffstat (limited to 'lsv.py')
| -rwxr-xr-x | lsv.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
