From b18af55dbe15df75d6ef98c205f46b5f3873ee73 Mon Sep 17 00:00:00 2001 From: Brant Knudson Date: Sat, 1 Feb 2014 11:09:16 -0600 Subject: [PATCH] Remove unused variable assignment This variable was assigned a value and then later assigned a new value without ever being read in between, so the first assignment had no affect. Change-Id: I535776f5aa7b634375df23a4efae7e29d6e3d008 --- keystone/token/controllers.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/keystone/token/controllers.py b/keystone/token/controllers.py index 05be38a540..3fea3f3d48 100644 --- a/keystone/token/controllers.py +++ b/keystone/token/controllers.py @@ -83,8 +83,6 @@ class Auth(controller.V2Controller): raise exception.ValidationError(attribute='auth', target='request body') - auth_token_data = None - if "token" in auth: # Try to authenticate using a token auth_info = self._authenticate_token(