Skip to content

Commit

Permalink
fix python script execution
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgameiroborges committed Sep 27, 2024
1 parent 5fb31a4 commit 48bad2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generate_snaps_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ def generate_snaps_yaml(snap_table, canonical_livepatch, snaps_file_path) -> boo
return False

with open(snaps_file_path, "w") as yaml_file:
yaml.dump(new_data, yaml_file, default_flow_style=False)
yaml.dump(new_data, yaml_file)
return True

def main():
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument('snap_table')
parser.add_argument('canonical_livepatch')
Expand Down

0 comments on commit 48bad2c

Please sign in to comment.