From d6d5f54d002aadbac0718ac4929e9ce9d231322f Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 21 Aug 2017 10:37:35 -0400 Subject: [PATCH] Python-i18n: clarify debugging --- src/libcalamares/PythonJob.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libcalamares/PythonJob.cpp b/src/libcalamares/PythonJob.cpp index 3d16e946b..613f0f7ab 100644 --- a/src/libcalamares/PythonJob.cpp +++ b/src/libcalamares/PythonJob.cpp @@ -312,6 +312,7 @@ PythonJob::exec() bp::object entryPoint = scriptNamespace[ "run" ]; bp::object prettyNameFunc = scriptNamespace[ "pretty_name" ]; + cDebug() << "Job file" << scriptFI.absoluteFilePath(); if ( !prettyNameFunc.is_none() ) { bp::extract< std::string > prettyNameResult( prettyNameFunc() ); @@ -321,7 +322,7 @@ PythonJob::exec() } if ( !m_description.isEmpty() ) { - cDebug() << "Job" << prettyName() << "-pretty_name->" << m_description; + cDebug() << "Job" << prettyName() << "(func) ->" << m_description; emit progress( 0 ); } } @@ -336,7 +337,7 @@ PythonJob::exec() auto i_newline = m_description.indexOf('\n'); if ( i_newline > 0 ) m_description.truncate( i_newline ); - cDebug() << "Job" << prettyName() << "->" << m_description; + cDebug() << "Job" << prettyName() << "(doc) ->" << m_description; emit progress( 0 ); } }