Skip to content

Commit

Permalink
Update call to windows_helper to win_reg
Browse files Browse the repository at this point in the history
Signed-off-by: Jono Yang <jyang@nexb.com>
  • Loading branch information
JonoYang committed Jul 8, 2021
1 parent 55f9267 commit 8ac5529
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scanpipe/pipes/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
# ScanCode.io is a free software code scanning tool from nexB Inc. and others.
# Visit https://github.com/nexB/scancode.io for support and download.

from packagedcode import windows_helpers
from packagedcode import win_reg


def package_getter(root_dir, **kwargs):
"""
Yield installed package objects.
"""
packages = windows_helpers.get_installed_programs(root_dir)
packages = win_reg.get_installed_packages(root_dir)
for package in packages:
yield package.purl, package

0 comments on commit 8ac5529

Please sign in to comment.