mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-05 20:58:42 +02: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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user