Skip to content

Commit 9a5f070

Browse files
committed
Fix typo in VCID path generator
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent bb3c806 commit 9a5f070

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aboutcode/hashid/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ def vulnerability_yml_path(vcid):
129129
Git repository.
130130
131131
For example::
132-
>> vulnerability_yml_path("VCID-s9bw-m429-aaaf")
133-
'VCID-s9bw-m429-aaaf.yml'
132+
>>> vulnerability_yml_path("VCID-s9bw-m429-aaaf")
133+
's9/VCID-s9bw-m429-aaaf.yml'
134134
"""
135135
prefix = vcid[5 : 5 + 2]
136136
return f"{prefix}/{vcid}.yml"

0 commit comments

Comments
 (0)