Remove the unused variable

Change-Id: I2da67289355617c0201a5754827d1c17fc8e1d2a
This commit is contained in:
pengdake 2018-02-04 05:43:30 +08:00
parent 6368a9e887
commit efb04e0b37
1 changed files with 0 additions and 1 deletions

View File

@ -60,7 +60,6 @@ class ServiceMixin(object):
'status',
]
for search_opt in search_opts:
value = ''
if search_opt in req.GET:
value = req.GET[search_opt]
services = [s for s in services if s[search_opt] == value]