mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
return python 'None' for null values - otherwise we hit runtime error of 'SystemError: NULL result without error in PyObject_Call'
This commit is contained in:
parent
55b37160e4
commit
563ae20a6e
@ -54,7 +54,7 @@ namespace boost { namespace python {
|
||||
|
||||
PyObject * operator() (mapnik::value_null const& /*s*/) const
|
||||
{
|
||||
return NULL;
|
||||
return Py_None;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user