web/lib/django/contrib/gis/geos/collections.py
changeset 29 cc9b7e14412b
parent 0 0d40e90630ef
--- a/web/lib/django/contrib/gis/geos/collections.py	Wed May 19 17:43:59 2010 +0200
+++ b/web/lib/django/contrib/gis/geos/collections.py	Tue May 25 02:43:45 2010 +0200
@@ -19,7 +19,7 @@
 
         # Checking the arguments
         if not args:
-            raise TypeError, 'Must provide at least one Geometry to initialize %s.' % self.__class__.__name__
+            raise TypeError('Must provide at least one Geometry to initialize %s.' % self.__class__.__name__)
 
         if len(args) == 1:
             # If only one geometry provided or a list of geometries is provided