[MERGE] Patch: smtp_connection.py

Amit Saha amitsaha.in at gmail.com
Wed May 6 14:23:20 BST 2009


Hello,

Feature added:

When 'smtplib' is used for commit emails, the 'smtp_connection.py'
reads the SMTP configuration from the bazaar configuration file. This
basically forces the user to store the email password in
'smtp_password' in plain text. This might be undesirable for many
users, like me. The current patch to the code removes that necessity
and if the smtp_password field is left blank, then it automatically
prompts for the password after the commit is done. The password is
masked.

The patch uses the 'getpass' module to enable masked input.

Please find the patch attached.

Looking forward to your comments and hints for improvement, if any so
as to enable this patch to be merged.

Thank You,
Amit

-- 
http://amitksaha.blogspot.com
http://amitsaha.in.googlepages.com/
cornucopic on #scheme, #lisp, #math, #linux

*Bangalore Open Java Users Group*:http:www.bojug.in

"Recursion is the basic iteration mechanism in Scheme"
--- http://c2.com/cgi/wiki?TailRecursion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smtp_connection.patch
Type: text/x-patch
Size: 2661 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090506/83d06fc6/attachment.bin 


More information about the bazaar mailing list