From: Hans Lo Date: Thu, 28 Mar 2013 04:52:24 +0000 (-0400) Subject: auth: whitespace cleanup in views.py X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=dfa6994d4d81370482d386488bc3b285279f4d8c;p=mediagoblin.git auth: whitespace cleanup in views.py --- diff --git a/mediagoblin/auth/views.py b/mediagoblin/auth/views.py index d8ad7b51..99fe0b68 100644 --- a/mediagoblin/auth/views.py +++ b/mediagoblin/auth/views.py @@ -196,7 +196,7 @@ def resend_activation(request): request, messages.ERROR, _('You must be logged in so we know who to send the email to!')) - + return redirect(request, 'mediagoblin.auth.login') if request.user.email_verified: @@ -204,12 +204,12 @@ def resend_activation(request): request, messages.ERROR, _("You've already verified your email address!")) - + return redirect(request, "mediagoblin.user_pages.user_home", user=request.user['username']) request.user.verification_key = unicode(uuid.uuid4()) request.user.save() - + email_debug_message(request) send_verification_email(request.user, request)