Skip to content

Commit

Permalink
black reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
hawflau committed Apr 26, 2022
1 parent 7aacc65 commit 2ec132f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
validate_intrinsic_if_items,
make_combined_condition,
ref,
fnGetAtt
fnGetAtt,
)
from samtranslator.model.update_policy import UpdatePolicy
from samtranslator.translator.arn_generator import ArnGenerator
Expand Down
4 changes: 3 additions & 1 deletion samtranslator/model/sam_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,9 @@ def _validate_deployment_preference_and_add_update_policy(
raise ValueError("deployment_preference_collection required for parsing the deployment preference")

deployment_preference_collection.add(
self.logical_id, self.DeploymentPreference, condition,
self.logical_id,
self.DeploymentPreference,
condition,
)

if deployment_preference_collection.get(self.logical_id).enabled:
Expand Down

0 comments on commit 2ec132f

Please sign in to comment.