From fa7e1394aec65e2f2abc0f4f9e36c5147edfe67c Mon Sep 17 00:00:00 2001 From: Godefroid Chapelle Date: Mon, 23 Sep 2024 11:28:30 +0200 Subject: [PATCH] fix wrong rebase --- src/plone/recipe/zope2instance/recipe.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/plone/recipe/zope2instance/recipe.py b/src/plone/recipe/zope2instance/recipe.py index d13bc10..6a2f195 100644 --- a/src/plone/recipe/zope2instance/recipe.py +++ b/src/plone/recipe/zope2instance/recipe.py @@ -117,10 +117,6 @@ def __init__(self, buildout, name, options): """.strip() ) - # instantinate base wsgi_ini_template - global wsgi_ini_template - self._wsgi_ini_template = wsgi_ini_template - # Get Scripts' attributes return Scripts.__init__(self, buildout, name, options) @@ -959,7 +955,7 @@ def build_wsgi_ini(self): ) wsgi_options["server_main"] = wsgi_server_main_template % wsgi_options - wsgi_ini = self._wsgi_ini_template % wsgi_options + wsgi_ini = wsgi_ini_template % wsgi_options # Catch errors in generated wsgi.ini by parsing it before writing the file configparser.ConfigParser().read_string(wsgi_ini)