Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/hgwebdir_mod.py @ 3223:53e843840349
Whitespace/Tab cleanup
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 01 Oct 2006 19:26:33 +0200 |
parents | d7d53e3d9590 |
children | 1e322b44b366 |
comparison
equal
deleted
inserted
replaced
3222:a5603ad915c5 | 3223:53e843840349 |
---|---|
35 self.repos = [] | 35 self.repos = [] |
36 if cp.has_section('web'): | 36 if cp.has_section('web'): |
37 if cp.has_option('web', 'motd'): | 37 if cp.has_option('web', 'motd'): |
38 self.motd = cp.get('web', 'motd') | 38 self.motd = cp.get('web', 'motd') |
39 if cp.has_option('web', 'style'): | 39 if cp.has_option('web', 'style'): |
40 self.style = cp.get('web', 'style') | 40 self.style = cp.get('web', 'style') |
41 if cp.has_section('paths'): | 41 if cp.has_section('paths'): |
42 self.repos.extend(cleannames(cp.items('paths'))) | 42 self.repos.extend(cleannames(cp.items('paths'))) |
43 if cp.has_section('collections'): | 43 if cp.has_section('collections'): |
44 for prefix, root in cp.items('collections'): | 44 for prefix, root in cp.items('collections'): |
45 for path in util.walkrepos(root): | 45 for path in util.walkrepos(root): |