From 6be91ceda00f6110fd484a4bf7791d14e2fde638 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Thu, 23 Dec 2010 10:32:50 +0100 Subject: [PATCH] download debugsource with --debug rather than --source --- osc/commandline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/commandline.py b/osc/commandline.py index 55d09df9..f15794b4 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -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)