X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=check_dups.py;h=25c2936da800999cf5e84b9a1e2b0e6c4ec83bd6;hb=aaa16e28a73fcc01ff9fa5709c72970bb50629d7;hp=47a77df19381ae8a7f29a8755bf7f1e388d9304c;hpb=05f0cc396bc24da45fa1a8b0a79c97c79f399465;p=bookmarks_db.git diff --git a/check_dups.py b/check_dups.py index 47a77df..25c2936 100755 --- a/check_dups.py +++ b/check_dups.py @@ -76,7 +76,7 @@ def run(): if object.isBookmark: href = object.href - if dup_dict.has_key(href): + if href in dup_dict: report_dup(href, dup_dict[href]) else: dup_dict[href] = object_no