Remove unused variable

TrivialFix

Change-Id: I1ef56d0eab0c5f07bfa2380c786f4ee5caa7046c
This commit is contained in:
Béla Vancsics 2017-03-01 11:17:26 +01:00
parent 37cd9a961b
commit 278e463c86
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class FlavorExtraSpecsController(wsgi.Controller):
# NOTE(gmann): Max length for numeric value is being checked
# explicitly as json schema cannot have max length check for numeric value
def _check_extra_specs_value(self, specs):
for key, value in specs.items():
for value in specs.values():
try:
if isinstance(value, (six.integer_types, float)):
value = six.text_type(value)