hgext/keyword.py
changeset 5915 d0576d065993
parent 5885 53be157543d4
child 5945 7f593d7fccce
--- a/hgext/keyword.py	Mon Jan 21 13:37:27 2008 -0200
+++ b/hgext/keyword.py	Sun Jan 20 14:39:25 2008 +0100
@@ -243,7 +243,7 @@
     mf = ctx.manifest()
     if node is not None:   # commit
         _kwtemplater.commitnode = node
-        files = [f for f in ctx.files() if mf.has_key(f)]
+        files = [f for f in ctx.files() if f in mf]
         notify = ui.debug
     else:                  # kwexpand/kwshrink
         notify = ui.note