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

Re: [PATCH] mailer.py to use revision author for from_addr

From: Blair Zajac <blair_at_orcaware.com>
Date: 2003-04-09 18:39:40 CEST

Michael Wood wrote:
>
> > In that case, how about:
> >
> > def start(self, group, params):
> > self.to_addr = self.cfg.get('to_addr', group, params)
> > - self.from_addr = self.cfg.get('from_addr', group, params)
> > + self.from_addr = self.cfg.get('from_addr', group, params) or \
> > + self.repos.author and 'no_author'
> > self.reply_to = self.cfg.get('reply_to', group, params)
>
> Sorry, not thinking straight :)
>
> I meant: (At least I think I did ;)
>
> self.from_addr = self.cfg.get('from_addr', group, params) or \
> self.repos.author or 'no_author'

Thanks. Commited to mailer.py.

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 9 19:06:51 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.