forked from mirrors/bookwyrm
hide linter error on override funtion
This commit is contained in:
parent
4a10c99026
commit
3ba6479e79
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class Tombstone(ActivityObject):
|
||||||
''' the placeholder for a deleted status '''
|
''' the placeholder for a deleted status '''
|
||||||
type: str = 'Tombstone'
|
type: str = 'Tombstone'
|
||||||
|
|
||||||
def to_model(self, *args, **kwargs):
|
def to_model(self, *args, **kwargs):# pylint: disable=unused-argument
|
||||||
''' this should never really get serialized, just searched for '''
|
''' this should never really get serialized, just searched for '''
|
||||||
model = apps.get_model('bookwyrm.Status')
|
model = apps.get_model('bookwyrm.Status')
|
||||||
return model.find_existing_by_remote_id(self.id)
|
return model.find_existing_by_remote_id(self.id)
|
||||||
|
|
Loading…
Reference in a new issue