Fix import for moved geoip module.

This commit is contained in:
Bastian Kleineidam 2010-09-29 15:17:27 +02:00
parent c59bbae587
commit cc848cdb33
2 changed files with 4 additions and 5 deletions

View file

@ -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

View file

@ -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.