1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-02 09:46:16 +01:00

- parse_repoarchdescr: remove duplicates from repo_names

This commit is contained in:
Marcus Huewe 2014-07-21 14:32:54 +02:00
parent e90a60a8c8
commit e9233a5eab

View File

@ -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