Skip to content

Commit

Permalink
Pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Motl committed Mar 17, 2020
1 parent b228afb commit 9e3e840
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion streamalert_cli/terraform/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def terraform_generate_handler(config, init=False, check_tf=True, check_creds=Tr
metric_filters = generate_aggregate_cloudwatch_metric_filters(config)
if metric_filters:
_create_terraform_module_file(
metric_filters,
metric_filters,
'{}/metric_filters.tf.json'.format(DEFAULT_TERRAFORM_FILES_PATH)
)

Expand Down
2 changes: 1 addition & 1 deletion streamalert_cli/terraform/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def _rm_file(path):
_rm_file(path)

for tf_file in ['terraform.tfstate', 'terraform.tfstate.backup']:
path = '{}/{}'.format(DEFAULT_TERRAFORM_FILES_PATH ,tf_file)
path = '{}/{}'.format(DEFAULT_TERRAFORM_FILES_PATH, tf_file)
_rm_file(path)

# Finally, delete the Terraform directory
Expand Down

0 comments on commit 9e3e840

Please sign in to comment.