mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-02 11:55:36 -04:00
Make the libcalamares Python API better for PEP8
This commit is contained in:
parent
5369038ed6
commit
fb328494b3
3 changed files with 13 additions and 8 deletions
|
@ -21,6 +21,8 @@
|
|||
#include "PythonHelper.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
#include <QDir>
|
||||
|
||||
namespace CalamaresPython
|
||||
{
|
||||
|
||||
|
@ -35,6 +37,7 @@ debug( const std::string& s )
|
|||
PythonJobInterface::PythonJobInterface( Calamares::PythonJob* parent )
|
||||
: m_parent( parent )
|
||||
{
|
||||
moduleName = QDir( m_parent->m_workingPath ).dirName().toStdString();
|
||||
prettyName = m_parent->prettyName().toStdString();
|
||||
workingPath = m_parent->m_workingPath.toStdString();
|
||||
configuration = CalamaresPython::variantMapToPyDict( m_parent->m_configurationMap );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue