diff --git a/osc/commandline.py b/osc/commandline.py index 9334a42c..3237b8fe 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -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: