# HG changeset patch # User Goffi # Date 1657796130 -7200 # Node ID 6e785662dd7db0147c39cdf33acb113d3695089f # Parent 7d11e42b150e0ae17bbd3a75796825a943135674 cli (blog/get): verbose level of 2 now shows `extra` field diff -r 7d11e42b150e -r 6e785662dd7d sat_frontends/jp/cmd_blog.py --- a/sat_frontends/jp/cmd_blog.py Thu Jul 14 12:55:30 2022 +0200 +++ b/sat_frontends/jp/cmd_blog.py Thu Jul 14 12:55:30 2022 +0200 @@ -81,6 +81,7 @@ "content_xhtml", "title", "title_xhtml", + "extra" ) OUTPUT_OPT_NO_HEADER = "no-header" @@ -366,6 +367,8 @@ value = k_cb[k](item, keys) if k in k_cb else item[k] if isinstance(value, bool): value = str(value).lower() + elif isinstance(value, dict): + value = repr(value) self.disp(header + (value or "")) # we want a separation line after each item but the last one if idx < len(items) - 1: