equal
deleted
inserted
replaced
171 self.repos = repos |
171 self.repos = repos |
172 self.ui = u |
172 self.ui = u |
173 encoding.encoding = self.ui.config('web', 'encoding', |
173 encoding.encoding = self.ui.config('web', 'encoding', |
174 encoding.encoding) |
174 encoding.encoding) |
175 self.style = self.ui.config('web', 'style', 'paper') |
175 self.style = self.ui.config('web', 'style', 'paper') |
176 self.templatepath = self.ui.config('web', 'templates', None) |
176 self.templatepath = self.ui.config('web', 'templates', None, |
|
177 untrusted=False) |
177 self.stripecount = self.ui.config('web', 'stripes', 1) |
178 self.stripecount = self.ui.config('web', 'stripes', 1) |
178 if self.stripecount: |
179 if self.stripecount: |
179 self.stripecount = int(self.stripecount) |
180 self.stripecount = int(self.stripecount) |
180 self._baseurl = self.ui.config('web', 'baseurl') |
181 self._baseurl = self.ui.config('web', 'baseurl') |
181 prefix = self.ui.config('web', 'prefix', '') |
182 prefix = self.ui.config('web', 'prefix', '') |