[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16207] trunk/blender/source/blender/ python/api2_2x/Mesh.c: Python API

Ken Hughes khughes at pacific.edu
Thu Aug 21 18:13:26 CEST 2008


Revision: 16207
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16207
Author:   khughes
Date:     2008-08-21 18:13:26 +0200 (Thu, 21 Aug 2008)

Log Message:
-----------
Python API
----------
Fix typo in Mesh module exception messages (submitted by Teppo Kansala ).

Modified Paths:
--------------
    trunk/blender/source/blender/python/api2_2x/Mesh.c

Modified: trunk/blender/source/blender/python/api2_2x/Mesh.c
===================================================================
--- trunk/blender/source/blender/python/api2_2x/Mesh.c	2008-08-21 16:10:30 UTC (rev 16206)
+++ trunk/blender/source/blender/python/api2_2x/Mesh.c	2008-08-21 16:13:26 UTC (rev 16207)
@@ -5381,11 +5381,11 @@
 	if( PySequence_Size( args ) != 2 ||
 			!PyArg_ParseTuple( args, "iO", &edge_also, &args ) )
 		return EXPP_ReturnPyObjError( PyExc_TypeError,
-				"expected and int and a sequence of ints or MFaces" );
+				"expected an int and a sequence of ints or MFaces" );
 
 	if( !PyList_Check( args ) && !PyTuple_Check( args ) )
 		return EXPP_ReturnPyObjError( PyExc_TypeError,
-				"expected and int and a sequence of ints or MFaces" );
+				"expected an int and a sequence of ints or MFaces" );
 
 	/* see how many args we need to parse */
 	len = PySequence_Size( args );





More information about the Bf-blender-cvs mailing list