remove unnecessary CF method
This commit is contained in:
parent
d9c8bdb2a0
commit
4d47d6b7f6
@ -489,13 +489,6 @@ class SshPublicKey(BaseModel):
|
|||||||
def uploaded_iso_8601(self):
|
def uploaded_iso_8601(self):
|
||||||
return iso_8601_datetime_without_milliseconds(self.upload_date)
|
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):
|
class Group(BaseModel):
|
||||||
def __init__(self, name, path="/"):
|
def __init__(self, name, path="/"):
|
||||||
|
Loading…
Reference in New Issue
Block a user