Cleaner code.

This commit is contained in:
Steve Pulec 2015-01-17 19:10:19 -05:00
parent 585ef7b768
commit f19fdc9802

View File

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