From 529cc04fd1712105b11796117d821500da57a44d Mon Sep 17 00:00:00 2001 From: Jonas Winkler Date: Sat, 21 Nov 2020 12:12:19 +0100 Subject: [PATCH] code cleanup --- src/documents/models.py | 1 + src/documents/tests/test_parsers.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/documents/models.py b/src/documents/models.py index 6288980c5..8e0435647 100755 --- a/src/documents/models.py +++ b/src/documents/models.py @@ -269,6 +269,7 @@ class Log(models.Model): def __str__(self): return self.message + # TODO: why is this in the models file? class FileInfo: diff --git a/src/documents/tests/test_parsers.py b/src/documents/tests/test_parsers.py index e99bb8dc6..239203186 100644 --- a/src/documents/tests/test_parsers.py +++ b/src/documents/tests/test_parsers.py @@ -6,6 +6,7 @@ from django.test import TestCase from documents.parsers import get_parser_class + def fake_magic_from_file(file, mime=False): if mime: