
4 Sep
2014
4 Sep
'14
8:57 p.m.
Vadim,
On Thu, Sep 4, 2014 at 10:45 AM, Vadim Bendebury vbendeb@chromium.org wrote:
For an occasional user of patman some failures are not obvious: for instance when checkpatch reports warnings, the dry run still reports that the email would be sent. If it is not dry run, the warnings are shown on the screen, but it is not clear that the email was not sent.
Add some code to report failure to send email explicitly.
Tested by running the script on a patch with style violations, observed error messages in the script output.
Signed-off-by: Vadim Bendebury vbendeb@chromium.org
Changes in v2:
- modified the error message for accuracy
tools/patman/patman.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Reviewed-by: Doug Anderson dianders@chromium.org