From 72c2bd7cfdd43aa30a11a9bafb6f3ede7c289a47 Mon Sep 17 00:00:00 2001 From: Nelson Manuel Marques Date: Wed, 2 Mar 2016 17:47:22 +0000 Subject: [PATCH] FIX https://github.com/openSUSE/open-build-service/issues/1591 --- osc/commandline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index 6b8ed744..19894ac3 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -6604,7 +6604,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. if binary != None and binary != i.name: continue # skip source rpms - if not opts.sources and i.name.endswith('src.rpm'): + if not opts.sources and (i.name.endswith('src.rpm') or i.name.endswith('sdeb')): continue if not opts.debug: if i.name.find('-debuginfo-') >= 0: