diff options
| author | Claude Paroz <claude@2xlibre.net> | 2013-04-11 11:01:17 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-04-11 11:01:17 +0200 |
| commit | ddfc68379f47af18b90068f17e9a1f7e7cbfb505 (patch) | |
| tree | 064ded1b57bdaee37fa396324cb4b28161e39e11 | |
| parent | fe01404bb9f276446fc42390242da25122f91663 (diff) | |
Changed a deprecated warn() call in libgeos
| -rw-r--r-- | django/contrib/gis/geos/libgeos.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/geos/libgeos.py b/django/contrib/gis/geos/libgeos.py index 05e5d1209b..6963b786c8 100644 --- a/django/contrib/gis/geos/libgeos.py +++ b/django/contrib/gis/geos/libgeos.py @@ -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) |
