diff --git a/validity_check.py b/validity_check.py index c05669fe4e909064d660d20e82c704071d55e29a..15c3cf15c380fb9f92031574bd12cbeca2b6704a 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)