Mercurial > libervia-backend
changeset 2945:6c264c224614
jp (blog/edit): fixed --last-item after recent change in defaut value of --item
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 05 May 2019 18:50:38 +0200 |
parents | efb915a20d5d |
children | ce16847a7b6d |
files | sat_frontends/jp/cmd_blog.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_blog.py Sun May 05 18:50:35 2019 +0200 +++ b/sat_frontends/jp/cmd_blog.py Sun May 05 18:50:38 2019 +0200 @@ -559,7 +559,7 @@ return SYNTAX_EXT.get(self.current_syntax, SYNTAX_EXT[""]) def getItemData(self, service, node, item): - items = [item] if item is not None else [] + items = [item] if item else [] mb_data = self.host.bridge.mbGet(service, node, 1, items, {}, self.profile)[0][0] mb_data = data_format.deserialise(mb_data) try: