mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-29 04:00:34 +00:00
Fix import for moved geoip module.
This commit is contained in:
parent
c59bbae587
commit
cc848cdb33
2 changed files with 4 additions and 5 deletions
|
|
@ -30,9 +30,8 @@ import select
|
|||
import tempfile
|
||||
|
||||
from . import absolute_url, StoringHandler, get_url_from
|
||||
from ..cache import geoip
|
||||
from .. import (log, LOG_CHECK, LOG_CACHE, httputil, httplib2 as httplib,
|
||||
strformat, LinkCheckerError, url as urlutil, trace, clamav, winutil)
|
||||
strformat, LinkCheckerError, url as urlutil, trace, clamav, winutil, geoip)
|
||||
from ..HtmlParser import htmlsax
|
||||
from ..htmlutil import linkparse
|
||||
from ..network import iputil
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ Store and retrieve country names for IPs.
|
|||
"""
|
||||
import os
|
||||
import sys
|
||||
from ..lock import get_lock
|
||||
from ..decorators import synchronized
|
||||
from ..strformat import unicode_safe
|
||||
from .lock import get_lock
|
||||
from .decorators import synchronized
|
||||
from .strformat import unicode_safe
|
||||
|
||||
# It is unknown if the geoip library is already thread-safe, so
|
||||
# no risks should be taken here by using a lock.
|
||||
|
|
|
|||
Loading…
Reference in a new issue