# HG changeset patch # User Pierre-Yves David # Date 1352471260 -3600 # Node ID 41259e1f9d489f2be45639f74ed4be0de9e639fd # Parent df16bd045caefb2119d6d9a652ac5773ebf015bb [wsgi] saner use of `self.config` instead of `config` diff -r df16bd045cae -r 41259e1f9d48 wsgi/handler.py --- a/wsgi/handler.py Fri Nov 09 17:14:18 2012 +0100 +++ b/wsgi/handler.py Fri Nov 09 15:27:40 2012 +0100 @@ -106,8 +106,8 @@ def __init__(self, config, vreg=None): self.appli = CubicWebPublisher(config, vreg=vreg) self.config = config - self.base_url = config['base-url'] - self.https_url = config['https-url'] + self.base_url = self.config['base-url'] + self.https_url = self.config['https-url'] self.url_rewriter = self.appli.vreg['components'].select_or_none('urlrewriter') def _render(self, req):