about summary refs log tree commit diff
path: root/lsv.py
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2021-02-27 22:14:09 -0500
committerZach DeCook <zachdecook@librem.one>2021-02-27 22:14:09 -0500
commit279f8c6c79f29b4009a7448fdecbc7f9a36a0c1d (patch)
tree54d187eb40f9716ecbe1ba1927027d40d305007e /lsv.py
parent42543a360631a47aa0308fafb198d4fe27e182fd (diff)
downloadcgi-bin-279f8c6c79f29b4009a7448fdecbc7f9a36a0c1d.tar.gz
oeb and lsv: newline changes, use in makeplan
Diffstat (limited to 'lsv.py')
-rwxr-xr-xlsv.py4
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)