mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 10:16:14 +01:00
Suggest correct python-keyring package version
On Tumbleweed, `zypper in python-keyring` installs python2 version, while `osc` runs on python3. After this change, user will be pointed to the correct version.
This commit is contained in:
parent
c3e7428631
commit
fa205be798
@ -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…
Reference in New Issue
Block a user