Merge "Wording fix to list index error message"

This commit is contained in:
Jenkins 2016-04-11 10:50:16 +00:00 committed by Gerrit Code Review
commit 6483cfd5ac
1 changed files with 3 additions and 2 deletions

View File

@ -86,8 +86,9 @@ class GetParam(function.Function):
key = int(key)
except ValueError:
raise TypeError(_("Path components in '%s' "
"must be a integer "
"parsable strings.") % self.fn_name)
"must be a string that can be "
"parsed into an "
"integer.") % self.fn_name)
return collection[key]
try: