From badea0058402837961125bd000ced2a132591cbf Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 26 Feb 2009 05:30:48 -0400 Subject: Added a warning_() macro --- src/pyinterp.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/pyinterp.cc') 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(); -- cgit v1.2.3