Skip to content

Commit

Permalink
Merge pull request #156 from netromdk/issue-150
Browse files Browse the repository at this point in the history
Fixed error reporting that broke parsable format
  • Loading branch information
netromdk committed Mar 2, 2023
2 parents e9a6aaf + d24815b commit 44a38bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vermin/parser.py
Expand Up @@ -96,7 +96,7 @@ def detect(self, config):
min_versions = [(0, 0), (0, 0)]
if config.pessimistic():
min_versions[sys.version_info.major - 2] = None
versions = version_strings(min_versions) + ":" if parsable else ""
versions = version_strings(min_versions, separator=":") + ":" if parsable else ""
vvprint("{}:{}:{}:{}error: {}: {}".
format(err.filename, err.lineno, err.offset, versions, err.msg, text), config)
return (None, min_versions, set())

0 comments on commit 44a38bf

Please sign in to comment.