Skip to content

Commit

Permalink
Don't use repr
Browse files Browse the repository at this point in the history
  • Loading branch information
s0undt3ch committed Feb 13, 2017
1 parent 5ade2a6 commit 718afdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/netapi/__init__.py
Expand Up @@ -64,7 +64,7 @@ def run(self, low):

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(
Expand Down

0 comments on commit 718afdd

Please sign in to comment.