This fixes an edge case. If a parent issue is in "Pending Backport" status
but without any backport issues, the script (when running with --resolve-parent)
was wrongly changing the status to "Resolved".
Signed-off-by: Nathan Cutler <ncutler@suse.com>
global delay_seconds
global redmine
global status2status_id
+ if not backports:
+ return None
pending_backport_status_id = status2status_id["Pending Backport"]
resolved_status_id = status2status_id["Resolved"]
rejected_status_id = status2status_id["Rejected"]