Omit 1 implicit if-clause solo-extension
authorChristian Ebert <blacktrash@gmx.net>
Sat, 30 Dec 2006 23:21:09 +0100
branchsolo-extension
changeset 63 5455c45db625
parent 62 736ff2dde308
child 64 4cd7b993c5f8
Omit 1 implicit if-clause
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):