Skip to content
Permalink
Browse files

qgis_process: fix missing line feeds and a typo in qgsprocess.cpp

  • Loading branch information
github-actions authored and nyalldawson committed Jul 21, 2020
1 parent de08d6b commit ef1e0d20e1b7c901889c9439399df7bdb1b63512
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/process/qgsprocess.cpp
@@ -122,7 +122,7 @@ std::unique_ptr< QgsPythonUtils > QgsProcessingExec::loadPythonSupport()
pythonlib.setFileName( pythonlibName );
if ( !pythonlib.load() )
{
std::cerr << QStringLiteral( "Couldn't load Python support library: %1" ).arg( pythonlib.errorString() ).toLocal8Bit().constData();
std::cerr << QStringLiteral( "Couldn't load Python support library: %1\n" ).arg( pythonlib.errorString() ).toLocal8Bit().constData();
return nullptr;
}
}
@@ -132,7 +132,7 @@ std::unique_ptr< QgsPythonUtils > QgsProcessingExec::loadPythonSupport()
if ( !pythonlib_inst )
{
//using stderr on purpose because we want end users to see this [TS]
std::cerr << "Couldn't resolve python support library's instance() symbol.";
std::cerr << "Couldn't resolve Python support library's instance() symbol.\n";
return nullptr;
}

@@ -158,7 +158,7 @@ int QgsProcessingExec::run( const QStringList &args )
if ( level == Qgis::Critical )
{
if ( !message.contains( QLatin1String( "DeprecationWarning:" ) ) )
std::cerr << message.toLocal8Bit().constData();
std::cerr << message.toLocal8Bit().constData() << '\n';
}
} );

0 comments on commit ef1e0d2

Please sign in to comment.
You can’t perform that action at this time.