]> git.phdru.name Git - bookmarks_db.git/blobdiff - bkmk2db.py
Style: Fix flake8 E303 too many blank lines
[bookmarks_db.git] / bkmk2db.py
index 721371b3ced78092eac15042d3afc472e2d3d04e..483c0a5be0d9dd4008efa01949e3e3e9f9067a2b 100755 (executable)
@@ -40,8 +40,7 @@ def run():
         filename = args[0]
 
     else:
-        filename = 'bookmarks.html' # good name both for DOS (bookmark.htm) and UNIX
-
+        filename = 'bookmarks.html'  # good name both for DOS (bookmark.htm) and UNIX
 
     if report_stats:
         from storage import storage_name
@@ -64,7 +63,6 @@ def run():
             print(filename, ": no such file")
             sys.exit(1)
 
-
     if show_pbar:
         pbar = ttyProgressBar(0, size)
         lng = 0
@@ -73,8 +71,7 @@ def run():
         if os.name == 'dos' or os.name == 'nt':
             dos_add = 1
         else:
-            dos_add = 0 # UNIX' and Mac's len() counts CR or LF correct
-
+            dos_add = 0  # UNIX' and Mac's len() counts CR or LF correct
 
     infile = open(filename, 'r')
     parser = BkmkParser()
@@ -88,7 +85,7 @@ def run():
             lng = lng + len(line) + dos_add
             pbar.display(lng)
 
-        #line = line.strip()
+        # line = line.strip()
         line_no = line_no + 1
 
         try: