changeset 2770 | 356e9d7c356d |
parent 2058 | 7ef12c03447c |
child 4252 | 6c4f109c2b03 |
--- a/wsgi/handler.py Tue Aug 11 12:42:01 2009 +0200 +++ b/wsgi/handler.py Tue Aug 11 13:01:56 2009 +0200 @@ -97,7 +97,7 @@ # assert self.base_url[-1] == '/' # self.https_url = config['https-url'] # assert not self.https_url or self.https_url[-1] == '/' - self.url_rewriter = self.appli.vreg.select_object('components', 'urlrewriter') + self.url_rewriter = self.appli.vreg['components'].select_or_none('urlrewriter') def _render(self, req): """this function performs the actual rendering