Skip to content

Commit 0157041

Browse files
author
Karan Goel
committed
remove db commit and flush
1 parent 510e0a0 commit 0157041

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

warehouse/accounts/views.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ def edit_profile(request, _form_class=forms.EditProfileForm):
8383
full_name=form.full_name.data, password=form.password.data
8484
)
8585

86-
user_service.db.commit()
87-
user_service.db.flush()
8886
return HTTPSeeOther(request.route_path("accounts.profile"))
8987

9088
return {"user": request.user, "form": form}

0 commit comments

Comments
 (0)