remove unnecessary CF method

This commit is contained in:
Matt Conway 2019-11-17 19:11:20 -05:00
parent d9c8bdb2a0
commit 4d47d6b7f6

View File

@ -489,13 +489,6 @@ class SshPublicKey(BaseModel):
def uploaded_iso_8601(self):
return iso_8601_datetime_without_milliseconds(self.upload_date)
def get_cfn_attribute(self, attribute_name):
from moto.cloudformation.exceptions import UnformattedGetAttTemplateException
if attribute_name == "PublicKeyBody":
return self.public_key_body
raise UnformattedGetAttTemplateException()
class Group(BaseModel):
def __init__(self, name, path="/"):