diff -r 1800aa0bf396 -r 356e9d7c356d wsgi/handler.py --- 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