Ticket #8680: 8680.patch
File 8680.patch, 766 bytes (added by , 16 years ago) |
---|
-
django/contrib/gis/geos/libgeos.py
47 47 48 48 # No GEOS library could be found. 49 49 if lib_path is None: 50 raise GEOSException('Could not find the GEOS library (tried "%s"). ' 51 'Try setting GEOS_LIBRARY_PATH in your settings.' % 52 '", "'.join(lib_names)) 50 error_msg = 'Could not find the GEOS library (tried "%s"). Try setting GEOS_LIBRARY_PATH in your settings.' % '", "'.join(lib_names) 51 raise ImportError, error_msg 53 52 54 53 # Getting the GEOS C library. The C interface (CDLL) is used for 55 54 # both *NIX and Windows.