From e63731a374ddc24abd429e1e59a94cbb1f5e8bb7 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Fri, 4 Oct 2024 12:28:49 -0700 Subject: [PATCH] Not inclined to test a 4 year old migration --- src/documents/migrations/1012_fix_archive_files.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/documents/migrations/1012_fix_archive_files.py b/src/documents/migrations/1012_fix_archive_files.py index 1df11eae1..1d12c439b 100644 --- a/src/documents/migrations/1012_fix_archive_files.py +++ b/src/documents/migrations/1012_fix_archive_files.py @@ -20,11 +20,11 @@ logger = logging.getLogger("paperless.migrations") # This is code copied straight paperless before the change. ############################################################################### class defaultdictNoStr(defaultdict): - def __str__(self): + def __str__(self): # pragma: no cover raise ValueError("Don't use {tags} directly.") -def many_to_dictionary(field): +def many_to_dictionary(field): # pragma: no cover # Converts ManyToManyField to dictionary by assuming, that field # entries contain an _ or - which will be used as a delimiter mydictionary = dict()