From f19fdc9802af4af58dd9075e5e2c607f5a2448ee Mon Sep 17 00:00:00 2001 From: Steve Pulec Date: Sat, 17 Jan 2015 19:10:19 -0500 Subject: [PATCH] Cleaner code. --- moto/cloudformation/parsing.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/moto/cloudformation/parsing.py b/moto/cloudformation/parsing.py index ea8ca646..3c8ab501 100644 --- a/moto/cloudformation/parsing.py +++ b/moto/cloudformation/parsing.py @@ -149,8 +149,6 @@ def resource_class_from_type(resource_type): def resource_name_property_from_type(resource_type): - if resource_type not in NAME_TYPE_MAP: - return None return NAME_TYPE_MAP.get(resource_type)