Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3 from cisagov/bug/add_spaces_after_commas_in_joins
Browse files Browse the repository at this point in the history
Add spaces after commas when joining product versions
  • Loading branch information
mcdonnnj committed Dec 30, 2021
2 parents 13c6014 + 810df85 commit f8f9af2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/_log4j_md_yml_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""This file defines the version of this module."""
__version__ = "1.0.0"
__version__ = "1.0.1"
4 changes: 2 additions & 2 deletions src/ymlmd/yml2md.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ def generate_markdown(software: Software) -> None:
"| {vendor} | {product} | {affected_versions} | {patched_versions} | {status} | {vendor_links} | {notes} | {references} | {reporter} | {last_updated} |".format(
vendor=s["vendor"],
product=s["product"],
affected_versions=",".join(
affected_versions=", ".join(
[x for x in default_cve["affected_versions"] if len(x) != 0]
),
patched_versions=",".join(
patched_versions=", ".join(
[x for x in default_cve["fixed_versions"] if len(x) != 0]
),
status=s["status"],
Expand Down

0 comments on commit f8f9af2

Please sign in to comment.