1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-02 09:46:16 +01:00

- exclude also nosrc.rpm on getbinaries

This commit is contained in:
Adrian Schröter 2011-10-07 09:06:04 +02:00
parent b5f21a4a8a
commit fade823e06

View File

@ -5535,7 +5535,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
for i in binaries:
# skip source rpms
if not opts.sources:
if i.name.endswith('.src.rpm'):
if i.name.endswith('src.rpm'):
continue
if not opts.debug:
if i.name.find('-debuginfo-') >= 0: