# HG changeset patch # User Christian Ebert # Date 1167517269 -3600 # Node ID 5455c45db625ab24daa08658fbcd5cf48a433b52 # Parent 736ff2dde3084889e2de32021e636ee9addd3025 Omit 1 implicit if-clause diff -r 736ff2dde308 -r 5455c45db625 hgkw/keyword.py --- a/hgkw/keyword.py Fri Dec 29 17:51:54 2006 +0100 +++ b/hgkw/keyword.py Sat Dec 30 23:21:09 2006 +0100 @@ -157,9 +157,6 @@ for candidate in candidates: if mf(candidate) and candidate not in files: files.append(candidate) - if not files: - return False - for f in files: data = repo.wfile(f).read() if not util.binary(data):