Skip to content

Commit 7498aa5

Browse files
cloudmonkey: print key when value is dictionary
Thanks to Geoff for finding this, the output print method did not output key in case the value is a dictionary object Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 387f033 commit 7498aa5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cloudmonkey/cloudmonkey.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ def print_result_as_dict(result):
269269
self.monkeyprint(key + ":")
270270
print_result_as_list(result[key])
271271
elif isinstance(result[key], dict):
272+
self.monkeyprint(key + ":")
272273
print_result_as_dict(result[key])
273274
else:
274275
value = unicode(result[key])

0 commit comments

Comments
 (0)