diff options
author | Jason Stubbs <jstubbs@gentoo.org> | 2005-12-30 06:48:50 +0000 |
---|---|---|
committer | Jason Stubbs <jstubbs@gentoo.org> | 2005-12-30 06:48:50 +0000 |
commit | 066f60343f2abfbdf3eee0ed3fab2aea5e1ff977 (patch) | |
tree | f4e2aef6dbe3f9b63de462035f7a4c30a363d126 | |
parent | 733f975947ccef724cc2344f5e036c9e7ff1f5a8 (diff) | |
download | portage-066f60343f2abfbdf3eee0ed3fab2aea5e1ff977.tar.gz portage-066f60343f2abfbdf3eee0ed3fab2aea5e1ff977.tar.bz2 portage-066f60343f2abfbdf3eee0ed3fab2aea5e1ff977.zip |
Split email addresses on the final "@" so as to allow "@" within the username
portion of the address.
svn path=/main/trunk/; revision=2497
-rw-r--r-- | pym/elog_modules/mod_mail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/elog_modules/mod_mail.py b/pym/elog_modules/mod_mail.py index a007833ee..59fd56a8e 100644 --- a/pym/elog_modules/mod_mail.py +++ b/pym/elog_modules/mod_mail.py @@ -18,7 +18,7 @@ def process(mysettings, cpv, logentries, fulltext): if " " in mysettings["PORTAGE_ELOG_MAILURI"]: myrecipient, mymailuri = mysettings["PORTAGE_ELOG_MAILURI"].split() if "@" in mymailuri: - myauthdata, myconndata = mymailuri.split("@") + myauthdata, myconndata = mymailuri.rsplit("@", 1) try: mymailuser,mymailpasswd = myauthdata.split(":") except ValueError: |