Skip to content

Commit

Permalink
Merge pull request #606 from furlongm/furlongm-patch-1
Browse files Browse the repository at this point in the history
don't cut last package in a module
  • Loading branch information
furlongm authored Aug 8, 2024
2 parents 4383c4c + a9c6cd3 commit 920fcf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reports/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def parse_modules(modules_string):


def process_module(module_str):
""" Processes a single sanitied module string and converts to a module
""" Processes a single sanitized module string and converts to a module
"""
m_name = module_str[0]
m_stream = module_str[1]
Expand All @@ -334,7 +334,7 @@ def process_module(module_str):
m_repo = None

packages = set()
for pkg_str in module_str[6:-1]:
for pkg_str in module_str[6:]:
p_type = Package.RPM
p_name, p_epoch, p_ver, p_rel, p_dist, p_arch = parse_package_string(pkg_str)
package = get_or_create_package(p_name, p_epoch, p_ver, p_rel, p_arch, p_type)
Expand Down

0 comments on commit 920fcf9

Please sign in to comment.