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.
|