SF 563203. Replaced 'has_key()' with 'in'.
diff --git a/Lib/mhlib.py b/Lib/mhlib.py
index 8d0eff1..d4869c6 100644
--- a/Lib/mhlib.py
+++ b/Lib/mhlib.py
@@ -375,7 +375,7 @@
anchor = self._parseindex(head, all)
except Error, msg:
seqs = self.getsequences()
- if not seqs.has_key(head):
+ if not head in seqs:
if not msg:
msg = "bad message list %s" % seq
raise Error, msg, sys.exc_info()[2]
@@ -412,7 +412,7 @@
n = self._parseindex(seq, all)
except Error, msg:
seqs = self.getsequences()
- if not seqs.has_key(seq):
+ if not seq in seqs:
if not msg:
msg = "bad message list %s" % seq
raise Error, msg