Switch from a generator class/object to a generator function.

* tools/hook-scripts/mailer/mailer.py
  (DiffGenerator.__getitem__): use the new generator_diff() generator
    function instead of an instance.
  (generate_diff): new function based off the DiffContent class.
  (class DiffContent): remove


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