We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7f9aa6 commit 4ad5d1aCopy full SHA for 4ad5d1a
2 files changed
tools/cli/cloudmonkey/cachemaker.py
@@ -100,7 +100,11 @@ def monkeycache(apis):
100
cache['count'] = getvalue(apis[responsekey], 'count')
101
cache['asyncapis'] = []
102
103
- for api in getvalue(apis[responsekey], 'api'):
+ apilist = getvalue(apis[responsekey], 'api')
104
+ if apilist == None:
105
+ print "[monkeycache] Server response issue, no apis found"
106
+
107
+ for api in apilist:
108
name = getvalue(api, 'name')
109
verb, subject = splitverbsubject(name)
110
tools/cli/cloudmonkey/cloudmonkey.py
@@ -487,6 +487,7 @@ def main():
487
if options.version:
488
print "cloudmonkey", __version__
489
print __description__, "(%s)" % __projecturl__
490
+ sys.exit(0)
491
492
shell = CloudMonkeyShell(sys.argv[0], options.cfile)
493
if len(args) > 1:
0 commit comments