hgext/acl.py
changeset 4487 1b5b98837bb5
parent 3975 7b1fce1d5e71
child 6211 f89fd07fc51d
--- a/hgext/acl.py	Sun May 27 13:41:35 2007 -0700
+++ b/hgext/acl.py	Sun May 27 13:50:59 2007 -0700
@@ -55,7 +55,7 @@
 
     def buildmatch(self, key):
         '''return tuple of (match function, list enabled).'''
-        if not self.ui.has_config(key):
+        if not self.ui.has_section(key):
             self.ui.debug(_('acl: %s not enabled\n') % key)
             return None, False