Skip to content

Commit

Permalink
WRN-1934: Rename group username to author in line regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasAubry committed Oct 23, 2017
1 parent 4fd4fb7 commit adf27cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openwebvulndb/common/vcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from .logs import logger


line_pattern = re.compile("(?P<revision>\d+)\s+(?P<username>[\w\s\.-]+)\s+(?P<month>[A-Z][a-z]{2})\s+"
line_pattern = re.compile("(?P<revision>\d+)\s+(?P<author>[\w\s\.-]+)\s+(?P<month>[A-Z][a-z]{2})\s+"
"(?P<day>\d{2})\s+(?:(?P<year>\d{4})|(?P<time>\d\d:\d\d))\s+(?P<component>\S+)/$")


Expand Down

0 comments on commit adf27cc

Please sign in to comment.