added a simple comment

This commit is contained in:
Cédric Bonhomme 2020-01-06 21:28:31 +01:00
parent 1460433429
commit 30af30f571
Signed by untrusted user who does not match committer: cedric
GPG key ID: A1CB94DE57B7A70D

View file

@ -16,6 +16,9 @@ from langdetect import detect as langdetect
def find_vuln(commit, pattern, verbose=False):
"""Find a potential vulnerability from a commit message thanks to a regex
pattern.
"""
m = pattern.search(commit.message)
if m:
if verbose: