mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-01 19:35:36 -04:00
[libcalamares] Give Python jobs a warning()
- Add libcalamares.utils.warning() alongside debug() for Python modules to output warnings.
This commit is contained in:
parent
dbbec4f76d
commit
84d599625f
3 changed files with 13 additions and 0 deletions
|
@ -171,6 +171,11 @@ debug( const std::string& s )
|
|||
cDebug() << "[PYTHON JOB]: " << QString::fromStdString( s );
|
||||
}
|
||||
|
||||
void
|
||||
warning( const std::string& s )
|
||||
{
|
||||
cWarning() << "[PYTHON JOB]: " << QString::fromStdString( s );
|
||||
}
|
||||
|
||||
PythonJobInterface::PythonJobInterface( Calamares::PythonJob* parent )
|
||||
: m_parent( parent )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue