/[Apache-SVN]
ViewVC logotype

Revision 1913310


Jump to revision: Previous Next
Author: gstein
Date: Wed Oct 25 05:30:24 2023 UTC (8 months ago)
Changed paths: 1
Log Message:
Move construction of a subject line from the output mechanism over to
the action classes.

Note: this includes a small shim to avoid copy/paste while making
substantial changes. That'll be fixed next.

* tools/hook-scripts/mailer/mailer.py:
  (MailedOutput.start): param is now SUBJECT_LINE
  (MailedOutput.mail_headers): take a full SUBJECT_LINE rather than
    constructing it within this method.
  (SMTPOutput.start, PipeOutput.start): take a SUBJECT_LINE and pass
    that along to the .mail_headers() method.
  (StandardOutput.start): take a full SUBJECT_LINE rather than
    constructing it within this method.
  (Messenger.make_subject): temporary shim to call the code still
    located within OutbaseBase.
  (Commit.generate, PropChange.generate, Lock.generate): construct the
    full SUBJECT_LINE here, rather than within .start()


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