Fix flake8 warning

This commit is contained in:
Thomas Sileo 2018-06-03 14:55:59 +02:00
parent 786816f0a2
commit ca6cbc1675

View file

@ -1017,13 +1017,12 @@ class Note(BaseActivity):
def build_delete(self) -> BaseActivity:
return Delete(object=Tombstone(id=self.id).to_dict(embed=True))
def get_tombstone(self, deleted: Optional[str]) -> BaseActivity:
return Tombstone(
id=self.id,
published=self.published,
deleted=deleted,
updated=updated,
updated=deleted,
)