mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Don't use repr
This commit is contained in:
parent
5ade2a6854
commit
718afddf51
@ -64,7 +64,7 @@ class NetapiClient(object):
|
||||
|
||||
if low.get('client') not in CLIENTS:
|
||||
raise salt.exceptions.SaltInvocationError(
|
||||
'Invalid client specified: {0!r}'.format(low.get('client')))
|
||||
'Invalid client specified: \'{0}\''.format(low.get('client')))
|
||||
|
||||
if not ('token' in low or 'eauth' in low) and low['client'] != 'ssh':
|
||||
raise salt.exceptions.EauthAuthenticationError(
|
||||
|
Loading…
Reference in New Issue
Block a user