File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
integration/helpers/deployer Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -375,7 +375,10 @@ def create_and_wait_for_changeset(
375375 except deploy_exceptions .ChangeEmptyError :
376376 try :
377377 # Delete the most recent change set that failed to create because it was empty
378- changeset = sorted (self ._client .list_change_sets (StackName = stack_name ).get ("Summaries" ), key = lambda c : c ["CreationTime" ])[- 1 ]
378+ changeset = sorted (
379+ self ._client .list_change_sets (StackName = stack_name ).get ("Summaries" ),
380+ key = lambda c : c ["CreationTime" ],
381+ )[- 1 ]
379382 if changeset .get ("Status" ) == "FAILED" and changeset .get ("ExecutionStatus" ) == "UNAVAILABLE" :
380383 self ._client .delete_change_set (ChangeSetName = changeset ["ChangeSetId" ], StackName = stack_name )
381384 except Exception as ex :
You can’t perform that action at this time.
0 commit comments