mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
- parse_repoarchdescr: added openSUSE_Tumbleweed to the repository list
This commit is contained in:
parent
ad92e8abb7
commit
930dfc1999
@ -5417,10 +5417,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
|
||||
repo_names = sorted(set([r.name for r in repositories]))
|
||||
if not arg_repository and repositories:
|
||||
# XXX: we should avoid hardcoding repository names
|
||||
# Use a default value from config, but just even if it's available
|
||||
# unless try standard, or openSUSE_Factory
|
||||
# unless try standard, or openSUSE_Factory, or openSUSE_Tumbleweed
|
||||
arg_repository = repositories[-1].name
|
||||
for repository in (conf.config['build_repository'], 'standard', 'openSUSE_Factory'):
|
||||
for repository in (conf.config['build_repository'], 'standard', 'openSUSE_Factory', 'openSUSE_Tumbleweed'):
|
||||
if repository in repo_names:
|
||||
arg_repository = repository
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user