Skip to content

armgit / mwmbl

Public Imported from GitHub
0

An open source, non-profit web search engine

Remove unused imports

blueheron7860fcd429c77f0
diff --git a/mwmbl/crawler/app.py b/mwmbl/crawler/app.py
index 6d8c7bc..458a944 100644
--- a/mwmbl/crawler/app.py
+++ b/mwmbl/crawler/app.py
@@ -26,10 +26,9 @@ from mwmbl.crawler.batch import (
Results,
)
from mwmbl.crawler.stats import MwmblStats, StatsManager
-from mwmbl.database import Database
from mwmbl.indexer.batch_cache import BatchCache
from mwmbl.indexer.index_batches import index_documents
-from mwmbl.indexer.indexdb import BatchInfo, BatchStatus, IndexDatabase
+from mwmbl.indexer.indexdb import BatchInfo, BatchStatus
from mwmbl.models import ApiKey, Device
from mwmbl.redis_url_queue import RedisURLQueue
from mwmbl.settings import (
diff --git a/test/test_stats_hourly_counts.py b/test/test_stats_hourly_counts.py
index 9b640f2..5117910 100644
--- a/test/test_stats_hourly_counts.py
+++ b/test/test_stats_hourly_counts.py
@@ -12,7 +12,7 @@ from unittest.mock import patch
import fakeredis
-from mwmbl.crawler.batch import HashedBatch, Item, ItemContent, Result, Results
+from mwmbl.crawler.batch import Result, Results
from mwmbl.crawler.stats import StatsManager, hour_count_key
NO_INDEX_COUNTS = {