Changed a deprecated warn() call in libgeos

This commit is contained in:
Claude Paroz 2013-04-11 11:01:17 +02:00
parent fe01404bb9
commit ddfc68379f
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ def notice_h(fmt, lst):
warn_msg = fmt % lst
except:
warn_msg = fmt
logger.warn('GEOS_NOTICE: %s\n' % warn_msg)
logger.warning('GEOS_NOTICE: %s\n' % warn_msg)
notice_h = NOTICEFUNC(notice_h)
ERRORFUNC = CFUNCTYPE(None, c_char_p, c_char_p)