mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-13 17:16:23 +01:00
Fix package filtering for osc rq
Check if action.tgt_package is None.
This commit is contained in:
parent
23c8f19868
commit
0c0dca0b27
@ -2426,7 +2426,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
for action in result.actions:
|
||||
if action.type == 'group' or not opts.target_package_filter:
|
||||
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
|
||||
break
|
||||
if not filtered:
|
||||
|
Loading…
Reference in New Issue
Block a user