Skip to content

Commit

Permalink
Update debian.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xonx4l committed Sep 2, 2023
1 parent 2086bb1 commit d51fb7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/packagedcode/debian.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,8 @@ def build_package_data(debian_data, datasource_id, package_type='deb', distro=No
keywords.append(keyword)

source_packages = []
source = debian_data.get('source')
if source:
source = debian_data.get('source')
if source:
if distro is None:
source_pkg_purl = PackageURL(
type=package_type,
Expand Down

0 comments on commit d51fb7e

Please sign in to comment.