Merge pull request #1745 from jberry-suse/staging-filter-from-fix
osc-staging: handle None value for --filter-from.
This commit is contained in:
commit
78a01722e5
@ -656,9 +656,10 @@ def do_staging(self, subcmd, opts, *args):
|
||||
if opts.add:
|
||||
api.mark_additional_packages(target_project, [opts.add])
|
||||
else:
|
||||
filter_from = api.prj_from_short(opts.filter_from) if opts.filter_from else None
|
||||
SelectCommand(api, target_project) \
|
||||
.perform(requests, opts.move,
|
||||
api.prj_from_short(opts.filter_from), opts.no_freeze)
|
||||
filter_from, opts.no_freeze)
|
||||
elif cmd == 'cleanup_rings':
|
||||
CleanupRings(api).perform()
|
||||
elif cmd == 'ignore':
|
||||
|
Loading…
x
Reference in New Issue
Block a user