diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-02-23 15:40:43 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-02-23 15:45:27 +0900 |
commit | d766845f0371e964e63703fc1cef5bbbe94fb237 (patch) | |
tree | da37f9089ff5e988bdf49c441cb687ce28caa1d0 /buildstream/_message.py | |
parent | 4a4faa17fbfc806066c141a2bab0149d21e6593b (diff) | |
download | buildstream-d766845f0371e964e63703fc1cef5bbbe94fb237.tar.gz |
_message.py: Added list of unconditional messages
Warnings and errors should be displayed even if silence
was requested for their depth.
Diffstat (limited to 'buildstream/_message.py')
-rw-r--r-- | buildstream/_message.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/buildstream/_message.py b/buildstream/_message.py index c6e0a5917..f22d9b39a 100644 --- a/buildstream/_message.py +++ b/buildstream/_message.py @@ -37,6 +37,15 @@ class MessageType(): FAIL = "failure" # Failing status complete message +# Messages which should be reported regardless of whether +# they are currently silenced or not +unconditional_messages = [ + MessageType.WARN, + MessageType.ERROR, + MessageType.FAIL +] + + # Message object # class Message(): |