[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Python mailer hook script for Windows

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-12-14 18:50:37 CET

Prucha, Brett A wrote:
> A simple patch for tools/hook-scripts/mailer/mailer.py
>
> * If the subject line is longer than 200 characters truncate the subject
> and add ... to the end. Exchange server was not sending out the email
> because the subject line was too long.
> * Removed UNIX specific Python commands and replaced them with ones that
> will work for Windows.
>
> =========================================================================
> 22a23
> > import StringIO
> 71a73,75
> > if len(subject) > 200:
> > tmp = StringIO.StringIO(subject)
> > subject = tmp.read(197) + "..."

Please resend as a unified-context diff ("diff -u"). Contextless diffs are
unusable without specification of the *exact* version on which they are
based, and also make it far harder to review the patch in email.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 14 18:52:48 2004

This is an archived mail posted to the Subversion Dev mailing list.