]> git.phdru.name Git - bookmarks_db.git/blobdiff - check_urls.py
Style: Fix flake8 E401 multiple imports on one line
[bookmarks_db.git] / check_urls.py
index 000141ff0f65929fb525879e9c2f6ffcff46745d..bf8df1a28c5d05da8ba21a79bd67806a78790082 100755 (executable)
@@ -5,7 +5,8 @@ This file is a part of Bookmarks database and Internet robot.
 """
 
 from __future__ import print_function
-import sys, os
+import os
+import sys
 
 
 __author__ = "Oleg Broytman <phd@phdru.name>"
@@ -107,8 +108,8 @@ def run():
 
         if object.isBookmark:
             href = object.href
-            if (href.startswith('place:') # Firefox SmartBookmarks
-                    or '%s' in href): # Bookmark with keyword
+            if (href.startswith('place:')  # Firefox SmartBookmarks
+                    or '%s' in href):  # Bookmark with keyword
                 log("Skipped %s" % href)
                 continue
 
@@ -138,7 +139,7 @@ def run():
                     try:
                         size = size + int(object.size)
                     except (AttributeError, TypeError, ValueError):
-                        pass # Some object does not have a size :(
+                        pass  # Some object does not have a size :(
                 else:
                     log("Interrupted by user (^C)")
                     break