From 4c25e9037897a04c7645b88c5483a4482d67f4c0 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 18 Nov 2024 19:10:42 -0800 Subject: [PATCH] move monkey_patches.py into archivebox.misc subfolder --- archivebox/__init__.py | 2 +- archivebox/core/settings_logging.py | 2 +- archivebox/{ => misc}/monkey_patches.py | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename archivebox/{ => misc}/monkey_patches.py (100%) diff --git a/archivebox/__init__.py b/archivebox/__init__.py index bd283106..8c65a60f 100755 --- a/archivebox/__init__.py +++ b/archivebox/__init__.py @@ -42,7 +42,7 @@ check_not_root() check_io_encoding() # print('INSTALLING MONKEY PATCHES') -from .monkey_patches import * # noqa +from .misc.monkey_patches import * # noqa # print('DONE INSTALLING MONKEY PATCHES') diff --git a/archivebox/core/settings_logging.py b/archivebox/core/settings_logging.py index e871b7bf..3b4ecd05 100644 --- a/archivebox/core/settings_logging.py +++ b/archivebox/core/settings_logging.py @@ -183,7 +183,7 @@ SETTINGS_LOGGING = { "level": "ERROR", }, "django.channels.server": { - # see archivebox.monkey_patches.ModifiedAccessLogGenerator for dedicated daphne server logging settings + # see archivebox.misc.monkey_patches.ModifiedAccessLogGenerator for dedicated daphne server logging settings "propagate": False, "handlers": ["default", "logfile"], "level": "INFO", diff --git a/archivebox/monkey_patches.py b/archivebox/misc/monkey_patches.py similarity index 100% rename from archivebox/monkey_patches.py rename to archivebox/misc/monkey_patches.py