Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
joguSD committed Sep 11, 2017
1 parent 6c6ff41 commit df57e5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion awscli/customizations/cloudformation/deployer.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def wait_for_changeset(self, changeset_id, stack_name):
# Wait for changeset to be created
waiter = self._client.get_waiter("change_set_create_complete")
# Poll every 5 seconds. Changeset creation should be fast
waiter_config = { 'Delay': 5 }
waiter_config = {'Delay': 5}
try:
waiter.wait(ChangeSetName=changeset_id, StackName=stack_name,
WaiterConfig=waiter_config)
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/customizations/cloudformation/test_deployer.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def test_wait_for_changeset_no_changes(self):
with self.assertRaises(exceptions.ChangeEmptyError):
mock_deployer.wait_for_changeset(changeset_id, stack_name)

waiter_config = { 'Delay': 5 }
waiter_config = {'Delay': 5}
mock_waiter.wait.assert_called_once_with(ChangeSetName=changeset_id,
StackName=stack_name,
WaiterConfig=waiter_config)
Expand Down Expand Up @@ -284,7 +284,7 @@ def test_wait_for_changeset_failed_to_create_changeset(self):
with self.assertRaises(RuntimeError):
mock_deployer.wait_for_changeset(changeset_id, stack_name)

waiter_config = { 'Delay': 5 }
waiter_config = {'Delay': 5}
mock_waiter.wait.assert_called_once_with(ChangeSetName=changeset_id,
StackName=stack_name,
WaiterConfig=waiter_config)
Expand Down

0 comments on commit df57e5d

Please sign in to comment.