From e9233a5eabef1c8e8ea3f41e465adf2bedb0a213 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Mon, 21 Jul 2014 14:32:54 +0200 Subject: [PATCH] - parse_repoarchdescr: remove duplicates from repo_names --- osc/commandline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index 6dc9ad34..89199749 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -5412,7 +5412,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. # only persist our own repos Repo.tofile(repolistfile, repositories) - repo_names = [r.name for r in repositories] + repo_names = sorted(set([r.name for r in repositories])) if not arg_repository and repositories: # Use a default value from config, but just even if it's available # unless try standard, or openSUSE_Factory