summaryrefslogtreecommitdiff
path: root/src/buildstream
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream')
-rw-r--r--src/buildstream/types.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildstream/types.py b/src/buildstream/types.py
index 71a4dbebd..4d7a4c650 100644
--- a/src/buildstream/types.py
+++ b/src/buildstream/types.py
@@ -222,6 +222,9 @@ class _PipelineSelection(FastEnum):
# including the targets
RUN = "run"
+ def __str__(self):
+ return self.value
+
########################################
# Type aliases #