mypy: Fix rebase errors in create_user.py.

This commit is contained in:
Tim Abbott
2018-05-23 11:35:01 -07:00
parent 8369e2b15e
commit 9c29592178
2 changed files with 1 additions and 3 deletions

View File

@@ -24,8 +24,6 @@ def copy_user_settings(source_profile: UserProfile, target_profile: UserProfile)
value = getattr(source_profile, settings_name)
setattr(target_profile, settings_name, value)
return target_profile
# create_user_profile is based on Django's User.objects.create_user,
# except that we don't save to the database so it can used in
# bulk_creates