Changeset 16685
- Timestamp:
- 06/23/08 20:03:36 (3 months ago)
- Files:
-
- trunk/midgard/apis/python/py_midgard_object.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midgard/apis/python/py_midgard_object.c
r16678 r16685 608 608 609 609 if(!pspec) { 610 611 PyErr_Format(PyExc_AttributeError, 612 "'%.50s' object has no attribute '%.400s'", 613 tp->tp_name, attr_name); 614 return NULL; 610 611 /* Try Generic Fallback once again */ 612 return PyObject_GenericGetAttr(self, attr); 615 613 } 616 614 … … 741 739 PyTypeObject *ot = __new_object_struct(typename); 742 740 pygobject_register_class(d, 743 typename, all_types[i], ot, 741 typename, all_types[i], ot, 744 742 /* FIXME, What is a static bases in this case? */ 745 743 Py_BuildValue("(O)", pygobject_type));
