def __init__(self, config):
        """Check for geoip module."""
        if not geoip:
            log.warn(LOG_PLUGIN, "GeoIP or pygeoip not found for LocationInfo plugin.")
        super(LocationInfo, self).__init__(config)
def __init__ ( self , config ) : if not geoip : log . warn ( LOG_PLUGIN , "GeoIP or pygeoip not found for LocationInfo plugin." ) super ( LocationInfo , self ) . __init__ ( config )
Check for geoip module.