Commit 928d26ca authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Bugfix.

parent 99f7495b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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))