Skip to content

Commit

Permalink
adding alpine package crawler from UK codebase
Browse files Browse the repository at this point in the history
Signed-off-by: Sahil Suneja <[email protected]>
  • Loading branch information
sahilsuneja1 committed Jan 25, 2018
1 parent cf078e9 commit 5994630
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crawler/utils/package_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,11 @@ def crawl_packages(
reload_needed=True):

# package attributes: ["installed", "name", "size", "version"]

logger.debug('Crawling Packages')

pkg_manager = _get_package_manager(root_dir)

try:
pkg_manager = _get_package_manager(root_dir)

if pkg_manager == 'dpkg':
dbpath = dbpath or 'var/lib/dpkg'
for (key, feature) in get_dpkg_packages(
Expand Down

0 comments on commit 5994630

Please sign in to comment.