equal
deleted
inserted
replaced
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): |