From dad88e25b1abcb7e123c1a13205107fb793ac4a2 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Thu, 13 Sep 2012 07:17:24 -0700 Subject: [PATCH] There is no spoon take 2 ugh Change-Id: I746c721ed779b1c63592fa0e07053d27ef4231a0 Signed-off-by: Steven Dake --- heat/engine/resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat/engine/resources.py b/heat/engine/resources.py index a33e474c60..c5fe937470 100644 --- a/heat/engine/resources.py +++ b/heat/engine/resources.py @@ -314,7 +314,7 @@ class Resource(object): return '%s.%s' % (self.stack.name, self.name) def physical_resource_name_find(self, resource_name): - if name in self.stack: + if resource_name in self.stack: return '%s.%s' % (self.stack.name, resource_name) else: raise IndexError('no such resource')