]> git.phdru.name Git - bookmarks_db.git/blobdiff - check_urls.py
Style: Fix flake8 E261 at least two spaces before inline comment
[bookmarks_db.git] / check_urls.py
index 000141ff0f65929fb525879e9c2f6ffcff46745d..8eba42c970ba27e2a7928d091775e27f882643d7 100755 (executable)
@@ -107,8 +107,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 +138,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