mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-11 16:36:14 +01:00
download debugsource with --debug rather than --source
This commit is contained in:
parent
497f97fc85
commit
6be91ceda0
@ -4975,11 +4975,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
if not opts.sources:
|
||||
if i.name.endswith('.src.rpm'):
|
||||
continue
|
||||
if i.name.find('-debugsource-') >= 0:
|
||||
continue
|
||||
if not opts.debug:
|
||||
if i.name.find('-debuginfo-') >= 0:
|
||||
continue
|
||||
if i.name.find('-debugsource-') >= 0:
|
||||
continue
|
||||
fname = '%s/%s' % (target_dir, i.name)
|
||||
if os.path.exists(fname):
|
||||
st = os.stat(fname)
|
||||
|
Loading…
Reference in New Issue
Block a user