clear warning

This commit is contained in:
Campbell Barton 2010-05-04 07:26:57 +00:00
parent 98754f3ae5
commit 02b8995bae

@ -2335,6 +2335,10 @@ static PyObject *pyrna_struct_getattro( BPy_StructRNA *self, PyObject *pyname )
}
}
break;
default:
/* should never happen */
PyErr_Format(PyExc_AttributeError, "bpy_struct: Context type invalid %d, can't get \"%.200s\" from context", newtype, name);
ret= NULL;
}
}
else if (done==-1) { /* found but not set */