similarity index 100%
rename from scripts/send-qa-email
rename to scripts/send_qa_email.py
@@ -61,7 +61,7 @@ for repo in sorted(repos.keys()):
utils.printheader("Copying in repo %s" % repo)
utils.mkdir(targetsubdir)
if args.target in ["a-full", "a-quick"]:
- # full/quick need all repo data due to send-qa-email
+ # full/quick need all repo data due to send_qa_email.py
subprocess.check_call(["tar", "-I", "zstd", "-C", targetsubdir, "-xf", "%s.tar.zst" % args.cache_dir])
else:
subprocess.check_call(["tar", "-I", "zstd", "-C", targetsubdir, "-xf", "%s.tar.zst" % args.cache_dir, "./" + repo])
This rename fixes send-qa-email regarding python guidelines, which allows to import the script content in another script (for unit testing purpose for example) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> --- scripts/{send-qa-email => send_qa_email.py} | 0 scripts/shared-repo-unpack | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename scripts/{send-qa-email => send_qa_email.py} (100%)