projects
/
leap_pycommon.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit
[leap_pycommon.git]
/
src
/
leap
/
common
/
__init__.py
1
import logging
2
logger = logging.getLogger(__name__)
3
4
try:
5
import pygeoip
6
HAS_GEOIP = True
7
except ImportError:
8
logger.debug('PyGeoIP not found. Disabled Geo support.')
9
HAS_GEOIP = False