changeset 6845:835a01a0cdb3

context: fix workingctx's __contains__ method
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Mon, 21 Jul 2008 13:22:11 +0200
parents a38dff85d31f
children 54b7c79575fa
files mercurial/context.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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':