[libcalamares] Hook up Python's error() to error, rather than warning

This commit is contained in:
Adriaan de Groot 2022-01-17 13:47:47 +01:00
parent 4be932ff9d
commit e6813949af

View File

@ -100,7 +100,7 @@ BOOST_PYTHON_MODULE( libcalamares )
bp::args( "s" ),
"Writes the given string to the Calamares warning stream." );
bp::def(
"error", &CalamaresPython::warning, bp::args( "s" ), "Writes the given string to the Calamares error stream." );
"error", &CalamaresPython::error, bp::args( "s" ), "Writes the given string to the Calamares error stream." );
// .. YAML functions