Python-i18n: allow None as a gettext path (searches default)

main
Adriaan de Groot 7 years ago
parent 74be2fd098
commit 78b3c8ed32

@ -240,12 +240,12 @@ gettext_languages()
return pyList;
}
std::string
bp::object
gettext_path()
{
// TODO: distinguish between -d runs and normal runs
// TODO: can we detect DESTDIR-installs?
return std::string();
return bp::object(); // None
}

@ -61,7 +61,7 @@ std::string check_target_env_output( const boost::python::list& args,
std::string obscure( const std::string& string );
std::string gettext_path();
boost::python::object gettext_path();
boost::python::list gettext_languages();

Loading…
Cancel
Save