From de734913a9b33088c65e6233b1ccb544d335097b Mon Sep 17 00:00:00 2001 From: Elisa Anguita Date: Fri, 8 Nov 2024 10:00:21 -0300 Subject: [PATCH] refactor(channels): Remove unused code --- bc/channel/signals.py | 4 ---- bc/channel/tasks.py | 4 ---- 2 files changed, 8 deletions(-) diff --git a/bc/channel/signals.py b/bc/channel/signals.py index 2eabe3db..8080b1d4 100644 --- a/bc/channel/signals.py +++ b/bc/channel/signals.py @@ -1,5 +1,3 @@ -import logging - from django.conf import settings from django.db.models.signals import post_save from django.dispatch import receiver @@ -13,8 +11,6 @@ queue = get_queue("default") -logger = logging.getLogger(__name__) - @receiver(post_save, sender=Group) def group_handler(sender, instance=None, created=False, **kwargs): diff --git a/bc/channel/tasks.py b/bc/channel/tasks.py index fcbf1a22..e3bd9add 100644 --- a/bc/channel/tasks.py +++ b/bc/channel/tasks.py @@ -1,5 +1,3 @@ -import logging - from django.conf import settings from django_rq.queues import get_queue from rq import Retry @@ -8,8 +6,6 @@ queue = get_queue("default") -logger = logging.getLogger(__name__) - def enqueue_text_status_for_channel(channel: Channel, text: str) -> None: """