From 3b23823ea730d0f7b0e88b339d0b288970e3b7e5 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 9 Mar 2009 22:08:03 -0400 Subject: Disabled warning on not finding ledger/__init__.py This warning is completely harmless, and was downgraded to a debug message. --- src/pyinterp.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/pyinterp.cc') diff --git a/src/pyinterp.cc b/src/pyinterp.cc index 56f9b6af..596271b8 100644 --- a/src/pyinterp.cc +++ b/src/pyinterp.cc @@ -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(); -- cgit v1.2.3