From b40295910db617b93f8bd1566f9dcb92b03abadb Mon Sep 17 00:00:00 2001 From: Serge van Ginderachter Date: Mon, 22 Jul 2013 16:47:36 +0200 Subject: [PATCH] also rename plugin name in error message --- lib/ansible/runner/lookup_plugins/flattened.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/lookup_plugins/flattened.py b/lib/ansible/runner/lookup_plugins/flattened.py index e359f59172..831b2e9130 100644 --- a/lib/ansible/runner/lookup_plugins/flattened.py +++ b/lib/ansible/runner/lookup_plugins/flattened.py @@ -71,7 +71,7 @@ class LookupModule(object): terms = utils.listify_lookup_plugin_terms(terms, self.basedir, inject) if not isinstance(terms, list): - raise errors.AnsibleError("with_flat_list expects a list") + raise errors.AnsibleError("with_flattened expects a list") ret = self.flatten(terms, inject) return ret