/[Apache-SVN]
ViewVC logotype

Revision 1914681


Jump to revision: Previous Next
Author: gstein
Date: Fri Dec 15 10:17:15 2023 UTC (6 months, 1 week ago)
Changed paths: 1
Log Message:
Switch from a generator class/object to a simple generation function.

* tools/hook-scripts/mailer/mailer.py:
  (generate_content): use new function, rather than the old
    DiffGenerator class.
  (class DiffGenerator): remove, but keep its contents as close as
    possible for new function ...
  (generate_changelist_diffs): ... here. This creates a "self" object
    to hold "instance vars" as if it was still the old class. This
    minimizes the changes necessary: switch from raising IndexError to
    just returning; switch from returning values to yield


Changed paths

Path Details
Directorysubversion/trunk/tools/hook-scripts/mailer/mailer.py modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26