Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
mamico committed Apr 22, 2024
1 parent b0c38b2 commit 2351b97
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plone/recipe/varnish/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
COOKIE_PASS_RE = re.compile('"(.*)":"(.*)"')
COOKIE_PASS_NOT_EXCLUDE_DEFAULT = "/\+\+resources\+\+zmi/"


class BaseRecipe(object):
def __init__(self, buildout, name, options):
self.name = name
Expand Down Expand Up @@ -155,7 +156,9 @@ def __init__(self, buildout, name, options):
self.options.setdefault("between-bytes-timeout", "60s")
self.options.setdefault("purge-hosts", "")
self.options.setdefault("cookie-pass", COOKIE_PASS_DEFAULT)
self.options.setdefault("cookie-pass-not-exclude", COOKIE_PASS_NOT_EXCLUDE_DEFAULT)
self.options.setdefault(
"cookie-pass-not-exclude", COOKIE_PASS_NOT_EXCLUDE_DEFAULT
)
self.options.setdefault("cookie-whitelist", COOKIE_WHITELIST_DEFAULT)
# Set default vcl_hash function so it doesn't use the default.vcl hostname
self.options.setdefault("vcl_hash", DEFAULT_VCL_HASH)
Expand Down

0 comments on commit 2351b97

Please sign in to comment.