Fix bug: Popen objects do not have .write()

Using .communicate() fixes this bug, and simplifies the code.

* tools/hook-scripts/mailer/mailer.py:
  (PipeOutput.deliver): use Popen.communicate() instead of all the
    other blather. Add a comment to explain operation.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1917679 13f79535-47bb-0310-9956-ffa450edef68
1 file changed