From dbbf2772116fb6e211bc23321c7555a8fc334070 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 23 Jun 2023 01:10:48 +0200 Subject: [PATCH] Continued: - removed unused imports --- fba/networks/lemmy.py | 3 --- fba/networks/mastodon.py | 5 ----- fba/networks/misskey.py | 1 - fba/networks/pleroma.py | 3 --- 4 files changed, 12 deletions(-) diff --git a/fba/networks/lemmy.py b/fba/networks/lemmy.py index b4e4ea1..c35716e 100644 --- a/fba/networks/lemmy.py +++ b/fba/networks/lemmy.py @@ -14,13 +14,11 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -import inspect import logging import bs4 from fba import csrf -from fba import database from fba import utils from fba.helpers import config @@ -30,7 +28,6 @@ from fba.helpers import tidyup from fba.http import federation from fba.http import network -from fba.models import blocks from fba.models import instances logging.basicConfig(level=logging.INFO) diff --git a/fba/networks/mastodon.py b/fba/networks/mastodon.py index b705ea6..962b2af 100644 --- a/fba/networks/mastodon.py +++ b/fba/networks/mastodon.py @@ -14,23 +14,18 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -import inspect import logging import bs4 from fba import csrf -from fba import database -from fba import utils -from fba.helpers import blacklist from fba.helpers import config from fba.helpers import domain as domain_helper from fba.helpers import tidyup from fba.http import network -from fba.models import blocks from fba.models import instances logging.basicConfig(level=logging.INFO) diff --git a/fba/networks/misskey.py b/fba/networks/misskey.py index 6768e39..9643654 100644 --- a/fba/networks/misskey.py +++ b/fba/networks/misskey.py @@ -21,7 +21,6 @@ from fba import csrf from fba import utils from fba.helpers import config -from fba.helpers import dicts from fba.helpers import domain as domain_helper from fba.helpers import tidyup diff --git a/fba/networks/pleroma.py b/fba/networks/pleroma.py index cd3c2fc..b0480e8 100644 --- a/fba/networks/pleroma.py +++ b/fba/networks/pleroma.py @@ -14,7 +14,6 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -import inspect import logging import bs4 @@ -22,7 +21,6 @@ import bs4 from fba import database from fba import utils -from fba.helpers import blacklist from fba.helpers import config from fba.helpers import domain as domain_helper from fba.helpers import tidyup @@ -30,7 +28,6 @@ from fba.helpers import tidyup from fba.http import federation from fba.http import network -from fba.models import blocks from fba.models import instances logging.basicConfig(level=logging.INFO) -- 2.39.5