hg-ssh
changeset 15 f3654416d178
parent 10 524b4a45ef0a
child 18 538d6b198f4a
--- a/hg-ssh	Fri Apr 18 10:18:35 2008 +0100
+++ b/hg-ssh	Fri Apr 18 12:36:36 2008 +0100
@@ -69,9 +69,9 @@
             if globmatch(rk, keyname) and globmatch(rp, path):
                 #logfile.write("Used rule: %s\n" % l)
                 return rule in applicable
-        return False
     finally:
         f.close()
+    return False
 
 def get_cmd(rulefile, keyname, cmd):
     if cmd.startswith('hg -R ') and cmd.endswith(' serve --stdio'):