Skip to content

Commit 18d8795

Browse files
committed
Fix bug in logging
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
1 parent c771b00 commit 18d8795

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

vulnerabilities/management/commands/create_cpe_to_purl_map.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,5 @@ def handle(self, *args, **options):
106106
with open(os.path.join("cpe2purl", f"{year}.json"), "w") as f:
107107
json.dump(purl_cpe_mapping, f, indent=4)
108108

109-
path = os.path.abspath("cpe2purl")
110-
self.stdout.write(
111-
self.style.SUCCESS(f"Successfully created the mappings. Check {path}")
112-
)
109+
path = os.path.abspath("cpe2purl")
110+
self.stdout.write(self.style.SUCCESS(f"Successfully created the mappings. Check {path}"))

0 commit comments

Comments
 (0)