summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-12-30 06:48:50 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-12-30 06:48:50 +0000
commit066f60343f2abfbdf3eee0ed3fab2aea5e1ff977 (patch)
treef4e2aef6dbe3f9b63de462035f7a4c30a363d126
parentConvert digest failure information to strings for printing. (diff)
downloadportage-multirepo-066f60343f2abfbdf3eee0ed3fab2aea5e1ff977.tar.gz
portage-multirepo-066f60343f2abfbdf3eee0ed3fab2aea5e1ff977.tar.bz2
portage-multirepo-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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/elog_modules/mod_mail.py b/pym/elog_modules/mod_mail.py
index a007833e..59fd56a8 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: