Skip to content

Commit 056e8fb

Browse files
cli: Make cachemaker.py pep8 compliant
Fixes object comparision to use a "is" b instead of == Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent a4356b5 commit 056e8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cli/cloudmonkey/cachemaker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def monkeycache(apis):
101101
cache['asyncapis'] = []
102102

103103
apilist = getvalue(apis[responsekey], 'api')
104-
if apilist == None:
104+
if apilist is None:
105105
print "[monkeycache] Server response issue, no apis found"
106106

107107
for api in apilist:

0 commit comments

Comments
 (0)