Skip to content

Commit

Permalink
Add missing parens
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Feb 27, 2024
1 parent 11ee776 commit 6ca3489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repology/parsers/parsers/winget.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def _parse_manifest(manifest_data: dict[str, Any], pkg: PackageMaker) -> None:
pkg.add_links(LinkType.UPSTREAM_CHANGELOG, manifest_data.get('ReleaseNotesUrl'))

for documentation in manifest_data.get('Documentations', []):
if link_type := _document_label_to_link_type(documentation.get('DocumentLabel')) is not None:
if (link_type := _document_label_to_link_type(documentation.get('DocumentLabel'))) is not None:
pkg.add_links(link_type, documentation['DocumentUrl'])

# pkg.set_summary(manifest_data.get('Description')) # may be long
Expand Down

0 comments on commit 6ca3489

Please sign in to comment.