[libcalamares] Hook up Python's error() to error, rather than warning
This commit is contained in:
parent
4be932ff9d
commit
e6813949af
@ -100,7 +100,7 @@ BOOST_PYTHON_MODULE( libcalamares )
|
|||||||
bp::args( "s" ),
|
bp::args( "s" ),
|
||||||
"Writes the given string to the Calamares warning stream." );
|
"Writes the given string to the Calamares warning stream." );
|
||||||
bp::def(
|
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
|
// .. YAML functions
|
||||||
|
Loading…
Reference in New Issue
Block a user