mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-24 19:54:25 -04:00
refactor: Move logging.py to main module to avoid circular import issues
This commit is contained in:
parent
f449e58239
commit
f4d1b5121e
29 changed files with 35 additions and 35 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue