diff --git a/linkcheck/checker/urlbase.py b/linkcheck/checker/urlbase.py index 0ac88fc3..624be7c1 100644 --- a/linkcheck/checker/urlbase.py +++ b/linkcheck/checker/urlbase.py @@ -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 diff --git a/linkcheck/geoip.py b/linkcheck/geoip.py index c9070647..12957af8 100644 --- a/linkcheck/geoip.py +++ b/linkcheck/geoip.py @@ -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.