[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r12915: fix a traceback when we receive an email request (bridgedb/trunk/lib/bridgedb)
Author: arma
Date: 2007-12-21 20:23:52 -0500 (Fri, 21 Dec 2007)
New Revision: 12915
Modified:
bridgedb/trunk/lib/bridgedb/Dist.py
Log:
fix a traceback when we receive an email request
Modified: bridgedb/trunk/lib/bridgedb/Dist.py
===================================================================
--- bridgedb/trunk/lib/bridgedb/Dist.py 2007-12-22 00:14:42 UTC (rev 12914)
+++ bridgedb/trunk/lib/bridgedb/Dist.py 2007-12-22 01:23:52 UTC (rev 12915)
@@ -164,7 +164,7 @@
if idx >= 0:
localpart = localpart[:idx]
# j.doe@ is the same as jdoe@.
- localpart = localpart.replace(".")
+ localpart = localpart.replace(".", "")
return "%s@%s"%(localpart, domain)