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

Re: [PATCH] add command line options to mailer.py

From: Masaru Tsuchiyama <m.tmatma_at_gmail.com>
Date: Thu, 22 Aug 2013 23:10:01 +0900

Hello

Does anybody comment my patch?

-- 
Masaru Tsuchiyama <m.tmatma_at_gmail.com>
Masaru Tsuchiyama wrote:
> Hello
> 
> I attach a patch to implement command line options for smtp servers.
> 
> [[[
> add command line options to mailer.py
> 
> * tools/hook-scripts/mailer/mailer.py
>    () : import OptionParser.
>    (main) : add options to arguments.
>    (PipeOutput.__init__) : call cfg.get_mail_command()
>                             to get mail command.
>    (Messenger.__init__) : call cfg.get_mail_command() and
>                           cfg.get_smtp_hostname() to get
>                           target.
>    (Config.__init__) : add options to arguments and save it.
>    (Config.get_mail_command) : get mail command from command line
>                                or config.
>    (Config.get_smtp_hostname): get smtp hostname from command line
>                                or config.
>    (Config.get_smtp_username): get smtp username from command line
>                                or config.
>    (Config.get_smtp_password): get smtp password from command line
>                                or config.
>    (setup_option_parser) : create instance of OptionParser.
>    (usage) : print usage by using OptionParser.
>    (): parse command line by using OptionParser.
> ]]]
> 
> 
Received on 2013-08-22 16:10:37 CEST

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.