]> git.phdru.name Git - bookmarks_db.git/blobdiff - check_dups.py
Fix(Py3): Fix `.has_key()`
[bookmarks_db.git] / check_dups.py
index 47a77df19381ae8a7f29a8755bf7f1e388d9304c..25c2936da800999cf5e84b9a1e2b0e6c4ec83bd6 100755 (executable)
@@ -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