Disabled warning on not finding ledger/__init__.py

This warning is completely harmless, and was downgraded to a debug
message.
This commit is contained in:
John Wiegley 2009-03-09 22:08:03 -04:00
parent 8697120795
commit 3b23823ea7

View file

@ -153,8 +153,11 @@ void python_interpreter_t::initialize()
break;
}
}
#if defined(DEBUG_ON)
if (! path_initialized)
warning_(_("Ledger failed to find 'ledger/__init__.py' on the PYTHONPATH"));
DEBUG("python.init",
"Ledger failed to find 'ledger/__init__.py' on the PYTHONPATH");
#endif
}
catch (const error_already_set&) {
PyErr_Print();