From fade823e064f78da230a1a89b969a85f595062c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= <adrian@suse.de>
Date: Fri, 7 Oct 2011 09:06:04 +0200
Subject: [PATCH] - exclude also nosrc.rpm on getbinaries

---
 osc/commandline.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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: