aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/ci
diff options
context:
space:
mode:
Diffstat (limited to 'project/ci')
-rw-r--r--project/ci/appveyor/generator.py4
-rw-r--r--project/ci/cmake.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/project/ci/appveyor/generator.py b/project/ci/appveyor/generator.py
index dc1fa13..19c11df 100644
--- a/project/ci/appveyor/generator.py
+++ b/project/ci/appveyor/generator.py
@@ -15,7 +15,7 @@ class Image(Enum):
VS_2019 = 'Visual Studio 2019'
def __str__(self):
- return self.value
+ return str(self.value)
@staticmethod
def parse(s):
@@ -36,7 +36,7 @@ class Generator(Enum):
VS_2019 = 'Visual Studio 16 2019'
def __str__(self):
- return self.value
+ return str(self.value)
@staticmethod
def from_image(image):
diff --git a/project/ci/cmake.py b/project/ci/cmake.py
index df2b55a..2f801de 100644
--- a/project/ci/cmake.py
+++ b/project/ci/cmake.py
@@ -26,7 +26,7 @@ def _parse_args(dirs, argv=None):
help='set Boost directory path')
parser.add_argument('--toolset', metavar='TOOLSET',
type=ToolchainType.parse,
- help=f'toolset to use')
+ help='toolset to use')
parser.add_argument('cmake_args', nargs='*', metavar='CMAKE_ARG', default=[],
help='additional CMake arguments, to be passed verbatim')
return parser.parse_args(argv)