move system.py into misc folder

This commit is contained in:
Nick Sweeting
2024-09-30 17:13:55 -07:00
parent 7a41b6ae46
commit dfca4b13b2
28 changed files with 78 additions and 58 deletions

View File

@@ -9,7 +9,7 @@ from django.utils.html import format_html, mark_safe # type: ignore
from django.core.cache import cache
from .schema import Link
from ..system import atomic_write
from archivebox.misc.system import atomic_write
from ..logging_util import printable_filesize
from ..util import (
enforce_types,

View File

@@ -11,7 +11,7 @@ from typing import List, Optional, Iterator, Any, Union
from archivebox.config import VERSION, DATA_DIR, CONSTANTS, SERVER_CONFIG, SHELL_CONFIG
from .schema import Link
from ..system import atomic_write
from archivebox.misc.system import atomic_write
from ..util import enforce_types

View File

@@ -21,7 +21,7 @@ from archivebox.config.constants import ARCHIVE_DIR, ARCHIVE_DIR_NAME
from plugins_extractor.favicon.apps import FAVICON_CONFIG
from ..system import get_dir_size
from archivebox.misc.system import get_dir_size
from ..util import ts_to_date_str, parse_date