Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/hgwebdir_mod.py @ 7575:3ccaefc84f45
hgweb: fix long line lengths introduced in 2dc868712dcc
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Sat, 03 Jan 2009 21:44:15 +0100 |
parents | 305efd897a63 |
children | 1d54e2f6c0b7 |
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py Sat Jan 03 20:20:40 2009 +0100 +++ b/mercurial/hgweb/hgwebdir_mod.py Sat Jan 03 21:44:15 2009 +0100 @@ -102,11 +102,11 @@ user = req.env.get('REMOTE_USER') - deny_read = ui.configlist('web', 'deny_read', default=None, untrusted=True) + deny_read = ui.configlist('web', 'deny_read', untrusted=True) if deny_read and (not user or deny_read == ['*'] or user in deny_read): return False - allow_read = ui.configlist('web', 'allow_read', default=None, untrusted=True) + allow_read = ui.configlist('web', 'allow_read', untrusted=True) # by default, allow reading if no allow_read option has been set if (not allow_read) or (allow_read == ['*']) or (user in allow_read): return True