Skip to content

Commit

Permalink
fix wrong rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
gotcha committed Sep 23, 2024
1 parent ba9af7f commit fa7e139
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/plone/recipe/zope2instance/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit fa7e139

Please sign in to comment.