Utils, not util.

This commit is contained in:
Teo Mrnjavac 2014-08-04 17:06:16 +02:00
parent c964093d7c
commit 01efeda801

View File

@ -76,9 +76,9 @@ BOOST_PYTHON_MODULE( libcalamares )
.def( "value", &Calamares::GlobalStorage::python_value );
// libcalamares.utils submodule starts here
bp::object utilModule( bp::handle<>( bp::borrowed( PyImport_AddModule( "libcalamares.utils" ) ) ) );
bp::scope().attr( "utils" ) = utilModule;
bp::scope utilsScope = utilModule;
bp::object utilsModule( bp::handle<>( bp::borrowed( PyImport_AddModule( "libcalamares.utils" ) ) ) );
bp::scope().attr( "utils" ) = utilsModule;
bp::scope utilsScope = utilsModule;
Q_UNUSED( utilsScope );
bp::def( "debug", &CalamaresPython::debug );