changeset 16764:ffb68b9dbaa9

acl: 'util.never' used
author Elifarley Callado Coelho Cruz
date Fri, 18 May 2012 12:40:04 -0300
parents c38f96ab63cb
children 754e98e0a615
files hgext/acl.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)