https://bugzilla.redhat.com/show_bug.cgi?id=2445737
--- Comment #19 from MartinKG <[email protected]> --- with this minimal correction, the fedora-review command works: diff -Naur /usr/lib/python3.15/site-packages/FedoraReview/deps.py.orig /usr/lib/python3.15/site-packages/FedoraReview/deps.py --- /usr/lib/python3.15/site-packages/FedoraReview/deps.py.orig 2026-09-15 09:25:52.898394057 +0200 +++ /usr/lib/python3.15/site-packages/FedoraReview/deps.py 2026-09-15 09:57:33.459518616 +0200 @@ -226,7 +226,7 @@ first_number_match = re.search(r'\s\d+\s\d+\s', line) first_number_start = first_number_match.start() path = line[:first_number_start].strip() - mode = line[first_number_start:].rsplit(None, 10)[3:4][0] + mode = line[first_number_start:].split(None, 9)[3] except (ValueError, AttributeError): # E. g., when given '(contains no files)' continue @@ -348,7 +348,7 @@ first_number_match = re.search(r'\s\d+\s\d+\s', line) first_number_start = first_number_match.start() path = line[:first_number_start].strip() - mode = line[first_number_start:].rsplit(None, 10)[3:4][0] + mode = line[first_number_start:].split(None, 9)[3] except (ValueError, AttributeError): # E. g., when given '(contains no files)' continue verified with this command: $ fedora-review -m fedora-rawhide-x86_64 -rn ../SRPMS/vdr-skinflatplus-1.3.1-2.fc45.src.rpm $ fedora-review -m fedora-rawhide-x86_64 -b 2445737 -- You are receiving this mail because: You are always notified about changes to this product and component You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2445737 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202445737%23c19 -- _______________________________________________ package-review mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
