mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 01:26:23 +01:00
Merge branch 'fix_#607' of https://github.com/lethliel/osc
Do not apply the --target-package-filter pattern if there is no target package.
This commit is contained in:
commit
6e95f8019d
@ -2429,7 +2429,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