From d0f0998d6b8b74de6010cd39eefd55eda3b05c96 Mon Sep 17 00:00:00 2001 From: Jay Dobies Date: Thu, 7 Apr 2016 16:45:41 -0400 Subject: [PATCH] Wording fix to list index error message Change-Id: I1315e3d2dbe858e0a07015e5ce4a698c4df16727 --- heat/engine/hot/functions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/heat/engine/hot/functions.py b/heat/engine/hot/functions.py index 241fd9c49..1e0a23be3 100644 --- a/heat/engine/hot/functions.py +++ b/heat/engine/hot/functions.py @@ -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: