mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
python: Remove locally dead code.
These changes are all independent of each other; I just didn’t feel like making dozens of commits for them. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
9afe6d0829
commit
4206e5f00b
@@ -1,10 +1,10 @@
|
||||
import importlib
|
||||
import json
|
||||
import os
|
||||
from typing import Any, Callable, Dict, Optional
|
||||
|
||||
from django.conf import settings
|
||||
from django.utils.translation import gettext as _
|
||||
from zulip_bots.lib import BotIdentity, RateLimit
|
||||
|
||||
from zerver.lib.actions import (
|
||||
internal_send_huddle_message,
|
||||
@@ -22,10 +22,6 @@ from zerver.lib.integrations import EMBEDDED_BOTS
|
||||
from zerver.lib.topic import get_topic_from_message_info
|
||||
from zerver.models import UserProfile, get_active_user
|
||||
|
||||
our_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
from zulip_bots.lib import BotIdentity, RateLimit
|
||||
|
||||
|
||||
def get_bot_handler(service_name: str) -> Any:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user