Skip to content
Snippets Groups Projects
Unverified Commit a551922c authored by Max Gautier's avatar Max Gautier
Browse files

Adapt download.py to run as a package script

parent ba3258d7
No related branches found
No related tags found
No related merge requests found
......@@ -318,6 +318,10 @@ def download_hash(only_downloads: [str]) -> None:
yaml.dump(data, checksums_yml)
logger.info("Updated %s", CHECKSUMS_YML)
def main():
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
parser = argparse.ArgumentParser(description=f"Add new patch versions hashes in {CHECKSUMS_YML}",
formatter_class=argparse.RawTextHelpFormatter,
epilog=f"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment