[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [cantor] src/backends/sage: Fix sagemath backend with sagemath 8.3
From: Antonio Rojas <null () kde ! org>
Date: 2018-08-20 11:24:54
Message-ID: E1friIo-0000iB-Ix () code ! kde ! org
[Download RAW message or body]
Git commit 18f4feb25158dd52b995c122204ea21de660204f by Antonio Rojas.
Committed on 20/08/2018 at 11:24.
Pushed by arojas into branch 'master'.
Fix sagemath backend with sagemath 8.3
The --simple-prompt parameter isn't available in 8.3
Differential Revision: https://phabricator.kde.org/D14945
M +1 -1 src/backends/sage/sagesession.cpp
https://commits.kde.org/cantor/18f4feb25158dd52b995c122204ea21de660204f
diff --git a/src/backends/sage/sagesession.cpp b/src/backends/sage/sagesession.cpp
index c2973a8a..f23914ad 100644
--- a/src/backends/sage/sagesession.cpp
+++ b/src/backends/sage/sagesession.cpp
@@ -118,7 +118,7 @@ void SageSession::login()
m_process=new KPtyProcess(this);
updateSageVersion();
const QString& sageExecFile = SageSettings::self()->path().toLocalFile();
- if (m_sageVersion >= SageSession::VersionInfo(8, 3))
+ if (m_sageVersion >= SageSession::VersionInfo(8, 4))
m_process->setProgram(sageExecFile, QStringList() << QLatin1String("--simple-prompt"));
else
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic