move logging_util into archivebox.misc subfolder

This commit is contained in:
Nick Sweeting 2024-11-18 19:08:49 -08:00
parent e469c5a344
commit 4a5d607296
No known key found for this signature in database
44 changed files with 89 additions and 113 deletions

View file

@ -114,7 +114,7 @@ def dir_is_writable(dir_path: Path, uid: int | None = None, gid: int | None = No
def assert_dir_can_contain_unix_sockets(dir_path: Path) -> bool:
"""Check if a given directory can contain unix sockets (e.g. /tmp/supervisord.sock)"""
from archivebox.logging_util import pretty_path
from archivebox.misc.logging_util import pretty_path
try:
socket_path = str(dir_path / '.test_socket.sock')