Skip to content

Commit

Permalink
Fix: Update pack_extended_attributes cpe function signature
Browse files Browse the repository at this point in the history
The function always returns a str and never None.
  • Loading branch information
bjoernricks committed Nov 16, 2023
1 parent b3c8872 commit c1126ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pontos/cpe/_cpe.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def pack_extended_attributes(
target_sw: Optional[str],
target_hw: Optional[str],
other: Optional[str],
) -> Optional[str]:
) -> str:
"""
Pack the extended attributes (v2.3) for an edition attribute (v2.2)
"""
Expand Down

0 comments on commit c1126ee

Please sign in to comment.