Skip to content

Commit

Permalink
Changed a deprecated warn() call in libgeos
Browse files Browse the repository at this point in the history
  • Loading branch information
claudep committed Apr 11, 2013
1 parent fe01404 commit ddfc683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/gis/geos/libgeos.py
Expand Up @@ -67,7 +67,7 @@ def notice_h(fmt, lst):
warn_msg = fmt % lst warn_msg = fmt % lst
except: except:
warn_msg = fmt warn_msg = fmt
logger.warn('GEOS_NOTICE: %s\n' % warn_msg) logger.warning('GEOS_NOTICE: %s\n' % warn_msg)
notice_h = NOTICEFUNC(notice_h) notice_h = NOTICEFUNC(notice_h)


ERRORFUNC = CFUNCTYPE(None, c_char_p, c_char_p) ERRORFUNC = CFUNCTYPE(None, c_char_p, c_char_p)
Expand Down

0 comments on commit ddfc683

Please sign in to comment.