mirror of
https://github.com/openSUSE/osc.git
synced 2025-03-01 05:32:13 +01:00
Merge branch 'patch-1' of https://github.com/rindeal/osc
Improve keyring installation hint if no keyring module is present. Now, it suggests to install "python<major version>-keyring" instead of "python-keyring".
This commit is contained in:
commit
eb88abc138
@ -1018,7 +1018,7 @@ def interactive_config_setup(conffile, apiurl, initial=True):
|
||||
|
||||
def select_credentials_manager_descr():
|
||||
if not credentials.has_keyring_support():
|
||||
print('To use keyrings please install python-keyring.')
|
||||
print('To use keyrings please install python%d-keyring.' % sys.version_info.major)
|
||||
creds_mgr_descriptors = credentials.get_credentials_manager_descriptors()
|
||||
for i, creds_mgr_descr in enumerate(creds_mgr_descriptors, 1):
|
||||
print('%d) %s (%s)' % (i, creds_mgr_descr.name(), creds_mgr_descr.description()))#
|
||||
|
Loading…
x
Reference in New Issue
Block a user