[wsgi] saner use of `self.config` instead of `config`
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Fri, 09 Nov 2012 15:27:40 +0100
changeset 8593 41259e1f9d48
parent 8592 df16bd045cae
child 8594 001159e2e4f3
[wsgi] saner use of `self.config` instead of `config`
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):