removed some funny debug log

This commit is contained in:
roberto@precise64
2012-02-18 11:40:25 +01:00
parent b5a7ab3688
commit bdd3e69024

View File

@@ -180,7 +180,6 @@ int uwsgi_python_init() {
Py_OptimizeFlag = up.optimize;
uwsgi_log("AAAA\n");
Py_Initialize();
@@ -244,14 +243,10 @@ void uwsgi_python_atexit() {
// this time we use this higher level function
// as this code can be executed in a signal handler
uwsgi_log("FOO 0\n");
if (!Py_IsInitialized()) {
return;
}
uwsgi_log("FOO\n");
if (uwsgi.has_threads)
PyGILState_Ensure();
// no need to worry about freeing memory
@@ -1097,7 +1092,6 @@ void uwsgi_python_master_fixup(int step) {
void uwsgi_python_enable_threads() {
uwsgi_log("ALEE\n");
PyEval_InitThreads();
if (pthread_key_create(&up.upt_save_key, NULL)) {
uwsgi_error("pthread_key_create()");