mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-03-31 12:22:25 +10:00
refactor: Move logging.py to main module to avoid circular import issues
This commit is contained in:
@@ -12,7 +12,7 @@ from ..index import (
|
||||
patch_main_index,
|
||||
)
|
||||
from ..util import enforce_types
|
||||
from ..cli.logging import (
|
||||
from ..logging import (
|
||||
log_archiving_started,
|
||||
log_archiving_paused,
|
||||
log_archiving_finished,
|
||||
|
||||
@@ -19,7 +19,7 @@ from ..config import (
|
||||
CURL_VERSION,
|
||||
CURL_USER_AGENT,
|
||||
)
|
||||
from ..cli.logging import TimedProgress
|
||||
from ..logging import TimedProgress
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ from ..config import (
|
||||
SAVE_DOM,
|
||||
CHROME_VERSION,
|
||||
)
|
||||
from ..cli.logging import TimedProgress
|
||||
from ..logging import TimedProgress
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ from ..config import (
|
||||
CHECK_SSL_VALIDITY,
|
||||
CURL_USER_AGENT,
|
||||
)
|
||||
from ..cli.logging import TimedProgress
|
||||
from ..logging import TimedProgress
|
||||
|
||||
|
||||
@enforce_types
|
||||
|
||||
@@ -22,7 +22,7 @@ from ..config import (
|
||||
GIT_DOMAINS,
|
||||
CHECK_SSL_VALIDITY
|
||||
)
|
||||
from ..cli.logging import TimedProgress
|
||||
from ..logging import TimedProgress
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ from ..config import (
|
||||
YOUTUBEDL_VERSION,
|
||||
CHECK_SSL_VALIDITY
|
||||
)
|
||||
from ..cli.logging import TimedProgress
|
||||
from ..logging import TimedProgress
|
||||
|
||||
|
||||
@enforce_types
|
||||
|
||||
@@ -16,7 +16,7 @@ from ..config import (
|
||||
SAVE_PDF,
|
||||
CHROME_VERSION,
|
||||
)
|
||||
from ..cli.logging import TimedProgress
|
||||
from ..logging import TimedProgress
|
||||
|
||||
|
||||
@enforce_types
|
||||
|
||||
@@ -16,7 +16,7 @@ from ..config import (
|
||||
SAVE_SCREENSHOT,
|
||||
CHROME_VERSION,
|
||||
)
|
||||
from ..cli.logging import TimedProgress
|
||||
from ..logging import TimedProgress
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ from ..config import (
|
||||
CURL_VERSION,
|
||||
CURL_USER_AGENT,
|
||||
)
|
||||
from ..cli.logging import TimedProgress
|
||||
from ..logging import TimedProgress
|
||||
|
||||
|
||||
HTML_TITLE_REGEX = re.compile(
|
||||
|
||||
@@ -31,7 +31,7 @@ from ..config import (
|
||||
WGET_USER_AGENT,
|
||||
COOKIES_FILE,
|
||||
)
|
||||
from ..cli.logging import TimedProgress
|
||||
from ..logging import TimedProgress
|
||||
|
||||
|
||||
@enforce_types
|
||||
|
||||
Reference in New Issue
Block a user