acl: 'util.never' used
authorElifarley Callado Coelho Cruz
Fri, 18 May 2012 12:40:04 -0300
changeset 16764 ffb68b9dbaa9
parent 16763 c38f96ab63cb
child 16765 754e98e0a615
acl: 'util.never' used
hgext/acl.py
--- a/hgext/acl.py	Fri May 18 12:37:23 2012 -0300
+++ b/hgext/acl.py	Fri May 18 12:40:04 2012 -0300
@@ -193,7 +193,7 @@
     if not repo:
         if pats:
             return lambda b: '*' in pats or b in pats
-        return lambda b: False
+        return util.never
 
     if pats:
         return match.match(repo.root, '', pats)