Skip to content

Commit

Permalink
Fix bug for py3 in shorthand error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesls committed Oct 7, 2014
1 parent 33b5adb commit 4d3569c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awscli/argprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def __call__(self, cli_argument, value, **kwargs):
# so any ParamError won't have this value. To accomodate
# this, ParamErrors are caught and reraised with the cli_name
# injected.
raise ParamError(cli_argument.cli_name, e.message)
raise ParamError(cli_argument.cli_name, str(e))
return parsed

def get_parse_method_for_param(self, cli_argument, value=None):
Expand Down

0 comments on commit 4d3569c

Please sign in to comment.