No reason for 'verification_successful = bool' here.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 2 Jun 2011 21:04:17 +0000 (16:04 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 2 Jun 2011 21:04:17 +0000 (16:04 -0500)
mediagoblin/auth/views.py

index e9d75f8bba75e5e1fbd005bb7b9f084a4fec829f..948db188262d9cf8835dd330e2af2ff9ab6fa002 100644 (file)
@@ -158,8 +158,6 @@ def verify_email(request):
     user = request.db.User.find_one(
         {'_id': ObjectId(unicode(request.GET['userid']))})
 
-    verification_successful = bool
-
     if user and user['verification_key'] == unicode(request.GET['token']):
         user['status'] = u'active'
         user['email_verified'] = True