Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restored ability to use own explicit version of zodb-temporary-storage. #160

Merged
merged 2 commits into from
Jan 18, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions news/93.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Restored ability to use own explicit version of zodb-temporary-storage.
[maurits]
4 changes: 3 additions & 1 deletion src/plone/recipe/zope2instance/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,8 +661,10 @@ def is_rs_option(name):

zodb_tmp_storage = options.get('zodb-temporary-storage', 'on')
if zodb_tmp_storage.lower() in ('off', 'false', '0'):
# no temporary-storage snippet
zodb_tmp_storage = ''
else:
elif zodb_tmp_storage.lower() in ('on', 'true', '1'):
# use default temporary-storage snippet
zodb_tmp_storage = zodb_temporary_storage_template
template = wsgi_conf_template if self.wsgi else zope_conf_template

Expand Down