There is no spoon take 2

ugh

Change-Id: I746c721ed779b1c63592fa0e07053d27ef4231a0
Signed-off-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
Steven Dake 2012-09-13 07:17:24 -07:00
parent a4fdfd4119
commit dad88e25b1

View File

@ -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')