Loading services/webapp/code/rosetta/core_app/utils.py +1 −1 Original line number Original line Diff line number Diff line Loading @@ -144,7 +144,7 @@ def finalize_user_creation(user, auth='local'): # Just an extra check # Just an extra check try: try: Profile.objects.get(user=user) Profile.objects.get(user=user) except Profile.DoesNotExists: except Profile.DoesNotExist: pass pass else: else: raise Exception('Consistency error: already found a profile for user "{}"'.format(user)) raise Exception('Consistency error: already found a profile for user "{}"'.format(user)) Loading Loading
services/webapp/code/rosetta/core_app/utils.py +1 −1 Original line number Original line Diff line number Diff line Loading @@ -144,7 +144,7 @@ def finalize_user_creation(user, auth='local'): # Just an extra check # Just an extra check try: try: Profile.objects.get(user=user) Profile.objects.get(user=user) except Profile.DoesNotExists: except Profile.DoesNotExist: pass pass else: else: raise Exception('Consistency error: already found a profile for user "{}"'.format(user)) raise Exception('Consistency error: already found a profile for user "{}"'.format(user)) Loading