Fix display of single event ...
Assumed a list of events. Change-Id: I1a22ee91d95a4ef473f4896f07caa95c1202df7f
This commit is contained in:
parent
582b2ac22f
commit
312dbbdb1c
@ -221,6 +221,8 @@ class Events(object):
|
||||
response = self.do_event(version, arguments)
|
||||
raw_rows = response.json(object_hook=jsonutil.object_hook)
|
||||
|
||||
if isinstance(raw_rows, dict):
|
||||
raw_rows = [raw_rows]
|
||||
keys = set()
|
||||
for row in raw_rows:
|
||||
keys.update(row.keys())
|
||||
|
Loading…
Reference in New Issue
Block a user