diff options
author | Benjamin Schubert <contact@benschubert.me> | 2020-04-23 15:21:46 +0100 |
---|---|---|
committer | Benjamin Schubert <contact@benschubert.me> | 2020-04-23 15:21:46 +0100 |
commit | f070f66139411c29bb526bdea0ae75301b0483b8 (patch) | |
tree | bb3e3bd7a4c24e64aae114c16f7ea216462f3aaf /src/buildstream | |
parent | b853d9a2a157e3c6db349ae54d080bfff06a7664 (diff) | |
download | buildstream-f070f66139411c29bb526bdea0ae75301b0483b8.tar.gz |
types.py: Add a __str__ to PipelineSelection to fix man pagesbschubert/fix-manpages
This ensures that we get as 'default' what the user needs to enter in
the command in the manpages
Diffstat (limited to 'src/buildstream')
-rw-r--r-- | src/buildstream/types.py | 3 |
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 # |