X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=check_urls.py;h=000141ff0f65929fb525879e9c2f6ffcff46745d;hb=a5a3a03d6067edaae395c8d5386257b55f3850f3;hp=ae7fe830475ac067a187a243124fe7065d2de213;hpb=cac6843d0987a11020e2ec606adccc95d89a5f71;p=bookmarks_db.git diff --git a/check_urls.py b/check_urls.py index ae7fe83..000141f 100755 --- a/check_urls.py +++ b/check_urls.py @@ -121,9 +121,11 @@ def run(): if checked.has_key(href): log("Already checked %s" % href) old_object = root_folder.linear[checked[href]] - for attr_name in ("last_visit", "last_modified", - "error", "no_error", "moved", "size", "md5", "real_title", - "last_tested", "test_time", "icon", "charset"): + for attr_name in ( + "last_visit", "last_modified", + "error", "no_error", "moved", "size", "md5", "real_title", + "last_tested", "test_time", "icon", "charset", + ): if hasattr(old_object, attr_name): setattr(object, attr_name, getattr(old_object, attr_name)) else: