Replaced all 'dict.has_key(item)' with 'item in dict' expressions.
[python-purple] / account.pyx
index 36902a7..5935ba9 100644 (file)
@@ -327,7 +327,7 @@ cdef class Account:
 
             sett = str(<char *> setting)
 
-            if not po.has_key(sett):
+            if sett not in po:
                 iter = iter.next
                 continue