Fix useless comparaison between 2 constants (#45524)

Found with https://lgtm.com
pull/45527/head
Michael Scherer 6 years ago committed by Tim Rupp
parent 197059b4a2
commit 004621ef8e

@ -12438,9 +12438,9 @@ class VirtualServersParameters(BaseParameters):
result = []
for item in self._values['profiles']['items']:
context = item['context']
if 'context' == 'serverside':
if context == 'serverside':
context = 'server-side'
elif 'context' == 'clientside':
elif context == 'clientside':
context = 'client-side'
name = item['name']
if context in ['all', 'server-side', 'client-side']:

Loading…
Cancel
Save