diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-26 05:30:48 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-26 05:30:48 -0400 |
commit | badea0058402837961125bd000ced2a132591cbf (patch) | |
tree | 4873746732a154c152a99bdda968c626526ff5e0 /src/pyinterp.cc | |
parent | 87ec7bc34a78ae67101514d6507b90fe691e0010 (diff) | |
download | fork-ledger-badea0058402837961125bd000ced2a132591cbf.tar.gz fork-ledger-badea0058402837961125bd000ced2a132591cbf.tar.bz2 fork-ledger-badea0058402837961125bd000ced2a132591cbf.zip |
Added a warning_() macro
Diffstat (limited to 'src/pyinterp.cc')
-rw-r--r-- | src/pyinterp.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pyinterp.cc b/src/pyinterp.cc index ad6f0e07..7125a18b 100644 --- a/src/pyinterp.cc +++ b/src/pyinterp.cc @@ -152,9 +152,7 @@ void python_interpreter_t::initialize() } } if (! path_initialized) - std::cerr - << _("Warning: Ledger failed to find 'ledger/__init__.py' on the PYTHONPATH") - << std::endl; + warning_(_("Ledger failed to find 'ledger/__init__.py' on the PYTHONPATH")); } catch (const error_already_set&) { PyErr_Print(); |