remove lots of unused code

This commit is contained in:
jonaswinkler
2021-02-04 23:40:53 +01:00
parent 138f38d1f3
commit 0d3ab3aaf7
10 changed files with 8 additions and 66 deletions

View File

@@ -17,7 +17,6 @@ from whoosh.writing import AsyncWriter
from documents.models import Document
from ... import index
from ...file_handling import create_source_path_directory
from ...mixins import Renderable
from ...parsers import get_parser_class_for_mime_type
@@ -62,7 +61,7 @@ def handle_document(document_id):
parser.cleanup()
class Command(Renderable, BaseCommand):
class Command(BaseCommand):
help = """
Using the current classification model, assigns correspondents, tags
@@ -71,10 +70,6 @@ class Command(Renderable, BaseCommand):
modified) after their initial import.
""".replace(" ", "")
def __init__(self, *args, **kwargs):
self.verbosity = 0
BaseCommand.__init__(self, *args, **kwargs)
def add_arguments(self, parser):
parser.add_argument(
"-f", "--overwrite",