Mercurial > hg
diff hgext/acl.py @ 3436:f29989e9746e
use ui.readsections in the acl extension
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Tue, 17 Oct 2006 17:04:26 -0300 |
parents | 5e39ad2c8b52 |
children | abaee83ce0a6 |
line wrap: on
line diff
--- a/hgext/acl.py Tue Oct 17 17:04:26 2006 -0300 +++ b/hgext/acl.py Tue Oct 17 17:04:26 2006 -0300 @@ -80,7 +80,7 @@ self.user = getpass.getuser() cfg = self.ui.config('acl', 'config') if cfg: - self.ui.readconfig(cfg) + self.ui.readsections(cfg, 'acl.allow', 'acl.deny') self.allow, self.allowable = self.buildmatch('acl.allow') self.deny, self.deniable = self.buildmatch('acl.deny')