Stop removing blank lines. Fixes bug #610734 v2.1.23
authorMike Pagano <mpagano@gentoo.org>
Mon, 27 Feb 2017 19:44:19 +0000 (14:44 -0500)
committerMike Pagano <mpagano@gentoo.org>
Mon, 27 Feb 2017 19:44:19 +0000 (14:44 -0500)
portpeek

index 42f453c..05ada08 100755 (executable)
--- a/portpeek
+++ b/portpeek
@@ -1329,6 +1329,7 @@ def cleanFile (filename):
 
                 # make sure line is not empty and do not remove commented out lines
                 if len(line) <= 0:
+                    print("")
                     continue
                 elif line.find("#") == 0:
                     print (line)