X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=account.pyx;h=5935ba914268f4d140c41d984086ae840060262b;hp=36902a770745d675e1d14fedcd53a587ffb3fb22;hb=7752e0f4a14a32ede02b8b86c83d9510338a59ed;hpb=7bb3464052088d687a2fcea874aa7ef6a56109b2 diff --git a/account.pyx b/account.pyx index 36902a7..5935ba9 100644 --- a/account.pyx +++ b/account.pyx @@ -327,7 +327,7 @@ cdef class Account: sett = str( setting) - if not po.has_key(sett): + if sett not in po: iter = iter.next continue