Skip to content

Commit

Permalink
chore: quality fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Aug 30, 2024
1 parent 7b297ce commit 5b9dbab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform_plugin_aspects/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def on_taxonomy_saved( # pylint: disable=unused-argument # pragma: no cover
post_save.connect(on_taxonomy_saved, sender=_taxonomy) # pragma: no cover


def on_object_tag_saved(sender, instance, **kwargs): # pragma: no cover
def on_object_tag_saved(sender, instance, **kwargs): # pragma: no cover
"""
Receives post save signal and queues the dump job.
"""
Expand Down Expand Up @@ -242,6 +242,6 @@ def on_object_tag_deleted( # pylint: disable=unused-argument # pragma: no cove
# Connect the ExternalId.post_save signal handler only if we have a model to attach to.
# (prevents celery errors during tests)
_object_tag = get_model("object_tag")
if _object_tag: # pragma: no cover
if _object_tag: # pragma: no cover
post_save.connect(on_object_tag_saved, sender=_object_tag)
post_delete.connect(on_object_tag_deleted, sender=_object_tag)

0 comments on commit 5b9dbab

Please sign in to comment.