diff --git a/openwebvulndb/common/vcs.py b/openwebvulndb/common/vcs.py index 8edb4f6..b76bef0 100644 --- a/openwebvulndb/common/vcs.py +++ b/openwebvulndb/common/vcs.py @@ -21,11 +21,16 @@ from os.path import join from os import mkdir, walk, rmdir, remove from contextlib import contextmanager +from urllib.parse import urljoin, urlparse, urlunparse +import re +from datetime import datetime from .errors import ExecutionFailure, DirectoryExpected from .logs import logger -from urllib.parse import urljoin, urlparse, urlunparse -import re + + +line_pattern = re.compile("(?P\d+)\s+(?P[\w\s\.-]+)\s+(?P[A-Z][a-z]{2})\s+" + "(?P\d{2})\s+(?:(?P\d{4})|(?P