From f6f489ea49ab7dd658eae8b2f40d3d162eab54ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 18 May 2020 09:51:47 +0200 Subject: [PATCH] Try to make AppVeyor happy --- lib/cppcheck.cpp | 2 +- lib/settings.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cppcheck.cpp b/lib/cppcheck.cpp index 0ff435cd7..20f462da1 100644 --- a/lib/cppcheck.cpp +++ b/lib/cppcheck.cpp @@ -177,7 +177,7 @@ static std::string executeAddon(const AddonInfo &addonInfo, if (test == 1 || test == lastTest) pythonExe = cmdFileName((addonInfo.python != "") ? addonInfo.python : defaultPythonExe); else - pythonExe = "python"; + pythonExe = "python3"; const std::string cmd = pythonExe + " --version 2>&1"; diff --git a/lib/settings.cpp b/lib/settings.cpp index c52db6d72..016e033cb 100644 --- a/lib/settings.cpp +++ b/lib/settings.cpp @@ -30,7 +30,7 @@ const char Settings::SafeChecks::XmlExternalVariables[] = "external-variables"; Settings::Settings() : mEnabled(0), - addonPython("python3"), + addonPython("python"), bugHunting(false), checkAllConfigurations(true), checkConfiguration(false),