Added debug( str ) to the Python API.

This commit is contained in:
Teo Mrnjavac 2014-07-28 18:55:01 +02:00
parent d30b6300ab
commit 845ae05f7e
3 changed files with 13 additions and 0 deletions

View file

@ -19,10 +19,19 @@
#include "PythonJobApi.h"
#include "PythonHelper.h"
#include "utils/Logger.h"
namespace CalamaresPython
{
void
debug( const std::string& s )
{
cDebug() << "[PYTHON JOB]: " << QString::fromStdString( s );
}
PythonJobInterface::PythonJobInterface( Calamares::PythonJob* parent )
: m_parent( parent )
{