Wording fix to list index error message

Change-Id: I1315e3d2dbe858e0a07015e5ce4a698c4df16727
This commit is contained in:
Jay Dobies 2016-04-07 16:45:41 -04:00
parent eeed79b7a2
commit d0f0998d6b

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: