mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Fix flake8 warning
This commit is contained in:
parent
786816f0a2
commit
ca6cbc1675
1 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue