# HG changeset patch # User Paul Crowley # Date 1208348960 -3600 # Node ID 2935e7232bd31d051eb11985b2a944f74a6c6615 # Parent 505d4789f91c965ac0018554444b20f1ebec250c syntax error diff -r 505d4789f91c -r 2935e7232bd3 hg-ssh --- a/hg-ssh Wed Apr 16 13:25:55 2008 +0100 +++ b/hg-ssh Wed Apr 16 13:29:20 2008 +0100 @@ -52,7 +52,7 @@ pattern = pattern.replace("*", "[%s]*" % allowedchars) return re.compile(pattern + "$").match(match) is not None -def testrule(rulefile keyname, path, applicable): +def testrule(rulefile, keyname, path, applicable): goodpath(keyname) goodpath(path) f = open(rulefile)