uwsgi.unbit

This commit is contained in:
roberto@sirius
2010-01-22 13:24:18 +01:00
parent 5a6850e64b
commit 8b8f1d60ed
+9
View File
@@ -2891,6 +2891,15 @@ void init_uwsgi_embedded_module() {
exit(1);
}
#ifdef UNBIT
if (PyDict_SetItemString(uwsgi.embedded_dict, "unbit", Py_True)) {
#else
if (PyDict_SetItemString(uwsgi.embedded_dict, "unbit", Py_None)) {
#endif
PyErr_Print();
exit(1);
}
if (PyDict_SetItemString(uwsgi.embedded_dict, "buffer_size", PyInt_FromLong(uwsgi.buffer_size))) {
PyErr_Print();
exit(1);