Author: ArcRiley
Date: 2008-03-18 00:47:38 -0400 (Tue, 18 Mar 2008)
New Revision: 1158

Modified:
   trunk/pysoy/src/bodies/Body.pxi
Log:
Fixed quick bug


Modified: trunk/pysoy/src/bodies/Body.pxi
===================================================================
--- trunk/pysoy/src/bodies/Body.pxi     2008-03-18 04:25:57 UTC (rev 1157)
+++ trunk/pysoy/src/bodies/Body.pxi     2008-03-18 04:47:38 UTC (rev 1158)
@@ -211,7 +211,8 @@
     def __get__(self) :
       return soy._datatypes.BodyPosition(self)
     def __set__(self, value) :
-      if type(value) != tuple and type(value) != list and not isintance(value, 
soy._datatypes.BodyPosition) :
+      if type(value) != tuple and type(value) != list \
+         and not isinstance(value, soy._datatypes.BodyPosition) :
         raise TypeError('Must provide a tuple, list, or 
soy._datatype.BodyPosition')
       if len(value)!=3 :
         raise TypeError('Must provide (x,y,z)')

_______________________________________________
PySoy-SVN mailing list
PySoy-SVN@pysoy.org
http://www.pysoy.org/mailman/listinfo/pysoy-svn

Reply via email to