Don't use repr

This commit is contained in:
Pedro Algarvio 2017-02-13 19:23:58 +00:00 committed by GitHub
parent 5ade2a6854
commit 718afddf51

View File

@ -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(