diff PyParameterDescriptor.cpp @ 51:c1e4f706ca9a

Fix numpy version incompatibility issues and updated some example plugins.
author fazekasgy
date Thu, 08 Oct 2009 08:47:28 +0000
parents af9c4cee95a8
children
line wrap: on
line diff
--- a/PyParameterDescriptor.cpp	Tue Oct 06 12:37:01 2009 +0000
+++ b/PyParameterDescriptor.cpp	Thu Oct 08 08:47:28 2009 +0000
@@ -89,6 +89,7 @@
 			Py_INCREF(v);
 			return v;
 		}
+		PyErr_SetString(PyExc_AttributeError,"non-existing ParameterDescriptor attribute");
 	}
 	return NULL;
 }