projects
/
python-purple
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replaced all 'dict.has_key(item)' with 'item in dict' expressions.
[python-purple]
/
account.pyx
diff --git
a/account.pyx
b/account.pyx
index
36902a7
..
5935ba9
100644
(file)
--- a/
account.pyx
+++ b/
account.pyx
@@
-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