Skip to content

Commit

Permalink
FIX: syntax error in budget delete
Browse files Browse the repository at this point in the history
  • Loading branch information
mlshapiro committed Feb 4, 2020
1 parent 20d8a66 commit 894dac4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions podpac/core/managers/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -2639,8 +2639,8 @@ def delete_budget(session, budget_name):
budgets = session.client("budgets")

try:
response = client.delete_budget(AccountId=session.get_account_id(), BudgetName=budget_name)
except apigateway.exceptions.NotFoundException as e:
budgets.delete_budget(AccountId=session.get_account_id(), BudgetName=budget_name)
except budgets.exceptions.NotFoundException as e:
pass

_log.debug("Successfully removed budget with name '{}'".format(budget_name))
Expand Down

0 comments on commit 894dac4

Please sign in to comment.