"""
from __future__ import print_function
-import sys, os
+import os
+import sys
__author__ = "Oleg Broytman <phd@phdru.name>"
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
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