summaryrefslogtreecommitdiff
path: root/django/contrib/auth/base_user.py
diff options
context:
space:
mode:
authorTom <tom@tomforb.es>2017-05-20 22:16:36 +0100
committerTim Graham <timograham@gmail.com>2017-05-27 13:59:05 -0400
commit7afb47646920ab3835dfa1750257dace01883a4b (patch)
tree8ee40e80cb841075fb6c282dfd72ed108b951066 /django/contrib/auth/base_user.py
parent94475aab800fc492853b67ada6b6b33d47554393 (diff)
Fixed #28226 -- Replaced use of str.join() with concatenation.
Diffstat (limited to 'django/contrib/auth/base_user.py')
-rw-r--r--django/contrib/auth/base_user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/base_user.py b/django/contrib/auth/base_user.py
index cf3c71d751..8865b671c9 100644
--- a/django/contrib/auth/base_user.py
+++ b/django/contrib/auth/base_user.py
@@ -26,7 +26,7 @@ class BaseUserManager(models.Manager):
except ValueError:
pass
else:
- email = '@'.join([email_name, domain_part.lower()])
+ email = email_name + '@' + domain_part.lower()
return email
def make_random_password(self, length=10,