diff PyOutputDescriptor.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/PyOutputDescriptor.cpp	Tue Oct 06 12:37:01 2009 +0000
+++ b/PyOutputDescriptor.cpp	Thu Oct 08 08:47:28 2009 +0000
@@ -88,6 +88,7 @@
 			Py_INCREF(v);
 			return v;
 		}
+		PyErr_SetString(PyExc_AttributeError,"non-existing OutputDescriptor attribute");
 	}
 	return NULL;
 }