1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 18:26:15 +01:00

added hint, what to do with a 'user is blank' error.

This commit is contained in:
Juergen Weigert 2011-03-10 20:14:09 +01:00
parent c3d5516bf8
commit b46d287570

View File

@ -808,7 +808,7 @@ def get_config(override_conffile = None,
password = '' password = ''
if user is None or user == '': 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 config['plaintext_passwd'] and passwordx or not config['plaintext_passwd'] and password:
if not config['plaintext_passwd']: if not config['plaintext_passwd']: