Skip to content

Commit

Permalink
Fix black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
markpeek committed Aug 10, 2023
1 parent 6cbb504 commit 7f1c1e0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion troposphere/validators/cloudfront.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,13 @@ def cloudfront_origin_request_header_behavior(header_behavior):
"""
Property: OriginRequestHeadersConfig.HeaderBehavior
"""
valid_values = ["none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront", "allExcept"]
valid_values = [
"none",
"whitelist",
"allViewer",
"allViewerAndWhitelistCloudFront",
"allExcept",
]
if header_behavior not in valid_values:
raise ValueError(
'HeaderBehavior must be one of: "%s"' % (", ".join(valid_values))
Expand Down

0 comments on commit 7f1c1e0

Please sign in to comment.