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

Regards
Martin
-- 
_______________________________________________
devel 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

Reply via email to