diff options
Diffstat (limited to 'ipalib/plugins/user.py')
-rw-r--r-- | ipalib/plugins/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py index aedcf4469..4a023ced3 100644 --- a/ipalib/plugins/user.py +++ b/ipalib/plugins/user.py @@ -235,7 +235,7 @@ class user(LDAPObject): if not isinstance(email, (list, tuple)): email = [email] for m in email: - if m.find('@') == -1: + if isinstance(m, basestring) and m.find('@') == -1: norm_email.append(m + u'@' + config['ipadefaultemaildomain'][0]) else: norm_email.append(m) |