jp (blog/edit): fixed --last-item after recent change in defaut value of --item
This commit is contained in:
parent
9a50da7f07
commit
d694599d69
1 changed files with 1 additions and 1 deletions
|
|
@ -559,7 +559,7 @@ class Edit(base.CommandBase, BlogPublishCommon, common.BaseEdit):
|
|||
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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue