| Index: presubmit_support.py
|
| diff --git a/presubmit_support.py b/presubmit_support.py
|
| index a4ae07824d68a97ea3e2235f37f65c7367b8d32d..a62948d9fafbc39fdcfdb832fe6d7b01de73cb9f 100755
|
| --- a/presubmit_support.py
|
| +++ b/presubmit_support.py
|
| @@ -154,6 +154,12 @@ class OutputApi(object):
|
| """Whether this presubmit result should result in a prompt warning."""
|
| return False
|
|
|
| + class PresubmitAddText(PresubmitResult):
|
| + """Propagates a line of text back to the caller."""
|
| + def __init__(self, message, items=None, long_text=''):
|
| + super(OutputApi.PresubmitAddText, self).__init__("ADD: " + message,
|
| + items, long_text)
|
| +
|
| class PresubmitError(PresubmitResult):
|
| """A hard presubmit error."""
|
| def IsFatal(self):
|
|
|