Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

code cleanup

Jonas Winkler529cc04fd171
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: