From 01efeda80143465940e0c47aebc0ab030dcf6846 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Mon, 4 Aug 2014 17:06:16 +0200 Subject: [PATCH] Utils, not util. --- src/libcalamares/PythonJob.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libcalamares/PythonJob.cpp b/src/libcalamares/PythonJob.cpp index 7acc8a78b..aff0d099c 100644 --- a/src/libcalamares/PythonJob.cpp +++ b/src/libcalamares/PythonJob.cpp @@ -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 );