From 607cd5e72bb959f4492480637862322d6b5e7f81 Mon Sep 17 00:00:00 2001 From: CharlyBVO <charles-henry.bertrand@uclouvain.be> Date: Mon, 2 Mar 2020 09:04:00 +0100 Subject: [PATCH] Hard fix http --- validity_check.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/validity_check.py b/validity_check.py index c05669f..15c3cf1 100644 --- a/validity_check.py +++ b/validity_check.py @@ -3,6 +3,7 @@ import sys if __name__ == "__main__": + JENK = 'no-contact-jenkins-ingi@uclouvain.be' modified_lines = sys.argv[1] author = sys.argv[2] modifs = modified_lines.split('\n') @@ -19,7 +20,7 @@ if __name__ == "__main__": exit(1) author = author.lower() - if author not in curr_line[0] and (author not in prev_line[0]) : + if author not in curr_line[0] and (author not in prev_line[0]) and author not in JENK : print("You modify the line of another student or use a different email than the one written !\n") exit(1) -- GitLab