diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-09 22:08:03 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-09 22:08:24 -0400 |
commit | 3b23823ea730d0f7b0e88b339d0b288970e3b7e5 (patch) | |
tree | 90b7b9fffa43f8ce8f9b0588a487f0e087ee056c /src/pyinterp.cc | |
parent | 8697120795066e86da89eee8f50812f196da7acc (diff) | |
download | fork-ledger-3b23823ea730d0f7b0e88b339d0b288970e3b7e5.tar.gz fork-ledger-3b23823ea730d0f7b0e88b339d0b288970e3b7e5.tar.bz2 fork-ledger-3b23823ea730d0f7b0e88b339d0b288970e3b7e5.zip |
Disabled warning on not finding ledger/__init__.py
This warning is completely harmless, and was downgraded to a debug
message.
Diffstat (limited to 'src/pyinterp.cc')
-rw-r--r-- | src/pyinterp.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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(); |