mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
cli: Make cachemaker.py pep8 compliant
Fixes object comparision to use a "is" b instead of == Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
a4356b559c
commit
056e8fb533
@ -101,7 +101,7 @@ def monkeycache(apis):
|
|||||||
cache['asyncapis'] = []
|
cache['asyncapis'] = []
|
||||||
|
|
||||||
apilist = getvalue(apis[responsekey], 'api')
|
apilist = getvalue(apis[responsekey], 'api')
|
||||||
if apilist == None:
|
if apilist is None:
|
||||||
print "[monkeycache] Server response issue, no apis found"
|
print "[monkeycache] Server response issue, no apis found"
|
||||||
|
|
||||||
for api in apilist:
|
for api in apilist:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user