Utils, not util.
This commit is contained in:
parent
c964093d7c
commit
01efeda801
@ -76,9 +76,9 @@ BOOST_PYTHON_MODULE( libcalamares )
|
|||||||
.def( "value", &Calamares::GlobalStorage::python_value );
|
.def( "value", &Calamares::GlobalStorage::python_value );
|
||||||
|
|
||||||
// libcalamares.utils submodule starts here
|
// libcalamares.utils submodule starts here
|
||||||
bp::object utilModule( bp::handle<>( bp::borrowed( PyImport_AddModule( "libcalamares.utils" ) ) ) );
|
bp::object utilsModule( bp::handle<>( bp::borrowed( PyImport_AddModule( "libcalamares.utils" ) ) ) );
|
||||||
bp::scope().attr( "utils" ) = utilModule;
|
bp::scope().attr( "utils" ) = utilsModule;
|
||||||
bp::scope utilsScope = utilModule;
|
bp::scope utilsScope = utilsModule;
|
||||||
Q_UNUSED( utilsScope );
|
Q_UNUSED( utilsScope );
|
||||||
|
|
||||||
bp::def( "debug", &CalamaresPython::debug );
|
bp::def( "debug", &CalamaresPython::debug );
|
||||||
|
Loading…
Reference in New Issue
Block a user