[libcalamares] Don't log useless FUNC_INFO for Python

- When a Python module calls utils.debug(), there's no point
  in logging the C++ funcinfo that passes the parameters on;
  don't use cDebug() with its attendant magic.
This commit is contained in:
Adriaan de Groot 2020-02-27 13:24:23 +01:00
parent f818d4b446
commit b0abb99ee1

View file

@ -148,7 +148,7 @@ check_target_env_output( const bp::list& args, const std::string& stdin, int tim
void
debug( const std::string& s )
{
cDebug() << "[PYTHON JOB]: " << QString::fromStdString( s );
Logger::CDebug( Logger::LOGDEBUG ) << "[PYTHON JOB]: " << QString::fromStdString( s );
}
void