mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-24 07:08:53 +02:00
Fix package filtering for osc rq
Check if action.tgt_package is None.
This commit is contained in:
@@ -2426,7 +2426,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
for action in result.actions:
|
for action in result.actions:
|
||||||
if action.type == 'group' or not opts.target_package_filter:
|
if action.type == 'group' or not opts.target_package_filter:
|
||||||
continue
|
continue
|
||||||
if not filter_pattern.match(action.tgt_package):
|
if action.tgt_package is not None and not filter_pattern.match(action.tgt_package):
|
||||||
filtered = True
|
filtered = True
|
||||||
break
|
break
|
||||||
if not filtered:
|
if not filtered:
|
||||||
|
Reference in New Issue
Block a user