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: def build_delete(self) -> BaseActivity:
return Delete(object=Tombstone(id=self.id).to_dict(embed=True)) return Delete(object=Tombstone(id=self.id).to_dict(embed=True))
def get_tombstone(self, deleted: Optional[str]) -> BaseActivity: def get_tombstone(self, deleted: Optional[str]) -> BaseActivity:
return Tombstone( return Tombstone(
id=self.id, id=self.id,
published=self.published, published=self.published,
deleted=deleted, deleted=deleted,
updated=updated, updated=deleted,
) )