From ddfc68379f47af18b90068f17e9a1f7e7cbfb505 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Thu, 11 Apr 2013 11:01:17 +0200 Subject: [PATCH] Changed a deprecated warn() call in libgeos --- django/contrib/gis/geos/libgeos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/gis/geos/libgeos.py b/django/contrib/gis/geos/libgeos.py index 05e5d1209b0..6963b786c8d 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)