context: fix workingctx's __contains__ method
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Mon, 21 Jul 2008 13:22:11 +0200
changeset 6845 835a01a0cdb3
parent 6844 a38dff85d31f
child 6846 54b7c79575fa
context: fix workingctx's __contains__ method
mercurial/context.py
--- a/mercurial/context.py	Mon Jul 21 13:17:51 2008 +0200
+++ b/mercurial/context.py	Mon Jul 21 13:22:11 2008 +0200
@@ -497,7 +497,7 @@
         return True
 
     def __contains__(self, key):
-        return self._dirstate[f] not in "?r"
+        return self._dirstate[key] not in "?r"
 
     def __getattr__(self, name):
         if name == '_status':