Skip to content

Commit

Permalink
Formatting for adding MU repositories on containerized server in suma…
Browse files Browse the repository at this point in the history
…form (#34)
  • Loading branch information
szachovy authored Jul 16, 2024
1 parent 04a90e8 commit c2195a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terracumber/terraformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def inject_repos(self, custom_repositories_json):
node_mu_repos = repos.get(node, None)
replacement_list = ["additional_repos = {"]
for name, url in node_mu_repos.items():
replacement_list.append('\n\t"{}"="{}",'.format(name, url))
replacement_list.append("\n}")
replacement_list.append(f'\n{" " * 4}{name} = "{url}"')
replacement_list.append("\n }")
replacement = ''.join(replacement_list)
placeholder = '//' + node + '_additional_repos'
n_replaced = 0
Expand Down

0 comments on commit c2195a6

Please sign in to comment.