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)
|
response = self.do_event(version, arguments)
|
||||||
raw_rows = response.json(object_hook=jsonutil.object_hook)
|
raw_rows = response.json(object_hook=jsonutil.object_hook)
|
||||||
|
|
||||||
|
if isinstance(raw_rows, dict):
|
||||||
|
raw_rows = [raw_rows]
|
||||||
keys = set()
|
keys = set()
|
||||||
for row in raw_rows:
|
for row in raw_rows:
|
||||||
keys.update(row.keys())
|
keys.update(row.keys())
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = klugman
|
name = klugman
|
||||||
version = 0.3
|
version = 0.4
|
||||||
author = Dark Secret Software Inc.
|
author = Dark Secret Software Inc.
|
||||||
author-email = admin@darksecretsoftware.com
|
author-email = admin@darksecretsoftware.com
|
||||||
summary = StackTach.v3 Client
|
summary = StackTach.v3 Client
|
||||||
|
Loading…
Reference in New Issue
Block a user