Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

FIX:distro is passed as None for debian based packages. #3503

Closed
wants to merge 3 commits into from

Conversation

xonx4l
Copy link

@xonx4l xonx4l commented Aug 30, 2023

issue-: #3443

Tasks

  • [x ] Reviewed contribution guidelines
  • [x ] PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • [x ] Commits are in uniquely-named feature branch and has no merge conflicts 📁
  • Looked for possible updates in documentation and added updates if applicable
  • Updated CHANGELOG.rst

@@ -629,15 +629,22 @@ 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')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation looks incorrect here.

@AyanSinhaMahapatra
Copy link
Member

@xonx4l thanks++ for your contributions, there were a few more improvements required here and now implemented at https://github.com/nexB/scancode-toolkit/pull/3647/files#diff-67c82bf5ab2f84c10e54b0fd21b104f73020350a0ec907937647d1ffee51c48eR701
Closing!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants