small warning fix.

This commit is contained in:
Nathan Letwory
2010-06-06 00:35:48 +00:00
parent a6d5f43ac8
commit cc72f9b516

View File

@@ -650,7 +650,7 @@ int Image_getbuffer(PyImage *self, Py_buffer *view, int flags)
catch (Exception & exp)
{
// cannot return -1, this creates a crash in Python, for now we will just return an empty buffer
//exp.report();
exp.report();
//return -1;
goto error;
}