mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 02:16:12 +01:00
added hint, what to do with a 'user is blank' error.
This commit is contained in:
parent
c3d5516bf8
commit
b46d287570
@ -808,7 +808,7 @@ def get_config(override_conffile = None,
|
||||
password = ''
|
||||
|
||||
if user is None or user == '':
|
||||
raise oscerr.ConfigError('user is blank for %s' % apiurl, config['conffile'])
|
||||
raise oscerr.ConfigError('user is blank for %s, please delete of complete the "user=" entry in %s.' % (apiurl,config['conffile']), config['conffile'])
|
||||
|
||||
if config['plaintext_passwd'] and passwordx or not config['plaintext_passwd'] and password:
|
||||
if not config['plaintext_passwd']:
|
||||
|
Loading…
Reference in New Issue
Block a user