Skip to content

Commit

Permalink
fix: remove extra logic that remained for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
ejseqera committed Apr 25, 2024
1 parent b41fe2a commit 7b60445
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions seqerakit/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,29 +97,10 @@ def parse_all_yaml(file_paths, destroy=False):
merged_data[key] = new_value
else:
merged_data[key] = new_value

except FileNotFoundError:
print(f"Error: The file '{file_path}' was not found.")
sys.exit(1)

for key, value in data.items():
if key in merged_data:
try:
merged_data[key].extend(value)
except AttributeError:
merged_data[key] = [merged_data[key], value]
else:
merged_data[key] = value

for key, value in data.items():
if key in merged_data:
try:
merged_data[key].extend(value)
except AttributeError:
merged_data[key] = [merged_data[key], value]
else:
merged_data[key] = value

block_names = list(merged_data.keys())

# Define the order in which the resources should be created.
Expand Down

0 comments on commit 7b60445

Please sign in to comment.