mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-03 06:17:53 +10:00
fix linters
This commit is contained in:
@@ -12,7 +12,6 @@ from ..index import (
|
|||||||
patch_main_index,
|
patch_main_index,
|
||||||
)
|
)
|
||||||
from ..util import enforce_types
|
from ..util import enforce_types
|
||||||
from ..config import ANSI
|
|
||||||
from ..logging_util import (
|
from ..logging_util import (
|
||||||
log_archiving_started,
|
log_archiving_started,
|
||||||
log_archiving_paused,
|
log_archiving_paused,
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ def fix_duplicate_links(sorted_links: Iterable[Link]) -> Iterable[Link]:
|
|||||||
"""
|
"""
|
||||||
ensures that all non-duplicate links have monotonically increasing timestamps
|
ensures that all non-duplicate links have monotonically increasing timestamps
|
||||||
"""
|
"""
|
||||||
from core.models import Snapshot
|
# from core.models import Snapshot
|
||||||
|
|
||||||
unique_urls: OrderedDict[str, Link] = OrderedDict()
|
unique_urls: OrderedDict[str, Link] = OrderedDict()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user