summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/edit/user.py')
-rw-r--r--sca-cpp/trunk/modules/edit/user.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/edit/user.py b/sca-cpp/trunk/modules/edit/user.py
index 2eb65a8ea4..227722ac48 100644
--- a/sca-cpp/trunk/modules/edit/user.py
+++ b/sca-cpp/trunk/modules/edit/user.py
@@ -23,5 +23,6 @@ def id(user, email, nick, full, first, last, realm):
return email.eval()
if nick.eval() != '?':
return nick.eval() + '@' + realm.eval()
- return user.eval() + '@' + realm.eval()
-
+ if user.eval() != '?':
+ return user.eval() + '@' + realm.eval()
+ return 'joe@localhost'