jp (common): various Table fixes:
- renamed fromDict to more accurate fromListDict - fixed handling of None filter in fromListDict - fixes show_header when no header exist - escape headers when using namedtuple, so it won't fail
This commit is contained in:
parent
1d91db6f2c
commit
da3b7b5fea
1 changed files with 20 additions and 12 deletions
|
|
@ -316,7 +316,7 @@ class InviteesList(base.CommandBase):
|
|||
|
||||
show_table = OUTPUT_OPT_TABLE in self.args.output_opts
|
||||
|
||||
table = common.Table.fromDict(
|
||||
table = common.Table.fromListDict(
|
||||
self.host,
|
||||
data,
|
||||
("nick",)
|
||||
|
|
|
|||
Loading…
Reference in a new issue