From 27ee272860ec07c252606e4bc0e642688500e8e3 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 26 Mar 2010 21:20:08 +0000 Subject: [PATCH] replace + symbolm in email address with _ --- sfa/util/namespace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/util/namespace.py b/sfa/util/namespace.py index cc140d5a..e3a7536f 100644 --- a/sfa/util/namespace.py +++ b/sfa/util/namespace.py @@ -45,7 +45,7 @@ def slicename_to_hrn(auth_hrn, slicename): def email_to_hrn(auth_hrn, email): parts = email.split("@") username = parts[0] - username = username.replace(".", "_") + username = username.replace(".", "_").replace("+", "_") person_hrn = ".".join([auth_hrn, username]) return person_hrn -- 2.45.2