From ca6cbc16757b73cc7d129ba82a34a999ce32325b Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 3 Jun 2018 14:55:59 +0200 Subject: [PATCH] Fix flake8 warning --- activitypub.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/activitypub.py b/activitypub.py index 0b4fa0b..3646c0a 100644 --- a/activitypub.py +++ b/activitypub.py @@ -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, )