X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=check_dups.py;h=25c2936da800999cf5e84b9a1e2b0e6c4ec83bd6;hb=9f2e541f950d245198f893936de4ebece69894ba;hp=47a77df19381ae8a7f29a8755bf7f1e388d9304c;hpb=e2c7ec4349db18acd4c8d0902b0a5ab2cffd5be7;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