From 30af30f571a693e3c62d48b4ed08994f7e3a4089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Mon, 6 Jan 2020 21:28:31 +0100 Subject: [PATCH] added a simple comment --- git_vuln_finder/vulnerability.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git_vuln_finder/vulnerability.py b/git_vuln_finder/vulnerability.py index d1df6d0..326e1fe 100644 --- a/git_vuln_finder/vulnerability.py +++ b/git_vuln_finder/vulnerability.py @@ -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: