Wording fix to list index error message
Change-Id: I1315e3d2dbe858e0a07015e5ce4a698c4df16727
This commit is contained in:
parent
eeed79b7a2
commit
d0f0998d6b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user