summaryrefslogtreecommitdiff
path: root/src/buildstream
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream')
-rw-r--r--src/buildstream/_cas/casdprocessmanager.py2
-rw-r--r--src/buildstream/source.py2
-rw-r--r--src/buildstream/types.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/buildstream/_cas/casdprocessmanager.py b/src/buildstream/_cas/casdprocessmanager.py
index 5ba192d1e..9536d9f8d 100644
--- a/src/buildstream/_cas/casdprocessmanager.py
+++ b/src/buildstream/_cas/casdprocessmanager.py
@@ -251,7 +251,7 @@ class CASDChannel:
try:
proc = psutil.Process(self._casd_pid)
if not proc.is_running():
- raise CASCacheError(f"buildbox-casd process died before connection could be established")
+ raise CASCacheError("buildbox-casd process died before connection could be established")
except psutil.NoSuchProcess:
raise CASCacheError("buildbox-casd process died before connection could be established")
diff --git a/src/buildstream/source.py b/src/buildstream/source.py
index c0744e8e7..7b790cdbb 100644
--- a/src/buildstream/source.py
+++ b/src/buildstream/source.py
@@ -765,7 +765,7 @@ class Source(Plugin):
# SourceErrors should be preserved so that the
# plugin can communicate real error cases.
raise
- except Exception as err: # pylint: broad-except
+ except Exception as err:
# Generic errors point to bugs in the plugin, so
# we need to catch them and make sure they do not
# cause stacktraces
diff --git a/src/buildstream/types.py b/src/buildstream/types.py
index 4d7a4c650..3d97fc7b9 100644
--- a/src/buildstream/types.py
+++ b/src/buildstream/types.py
@@ -223,7 +223,7 @@ class _PipelineSelection(FastEnum):
RUN = "run"
def __str__(self):
- return self.value
+ return str(self.value)
########################################