1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-24 03:02:12 +01:00

Set the first (highest prio) credentials manager as the default

This commit is contained in:
Daniel Mach 2022-03-24 11:33:10 +01:00
parent 853a3848e8
commit 8a85789573

View File

@ -1121,7 +1121,9 @@ def select_credentials_manager_descr():
for row in table:
print(row)
i = raw_input('Select credentials manager: ')
i = raw_input('Select credentials manager [default=1]: ')
if not i:
i = "1"
if not i.isdigit():
sys.exit('Invalid selection')
i = int(i) - 1