Mercurial > libervia-backend
changeset 2392:b29a53fb270d
jp (pubsub/delete): show deleted node + handle URIs
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 27 Oct 2017 08:33:48 +0200 |
parents | 07e1543d6992 |
children | 8ed4ac10cb5e |
files | frontends/src/jp/cmd_pubsub.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/frontends/src/jp/cmd_pubsub.py Fri Oct 20 08:49:39 2017 +0200 +++ b/frontends/src/jp/cmd_pubsub.py Fri Oct 27 08:33:48 2017 +0200 @@ -130,10 +130,11 @@ self.parser.add_argument('-f', '--force', action='store_true', help=_(u'delete node without confirmation')) def psNodeDeleteCb(self): - self.disp(_(u'node deleted successfully')) + self.disp(_(u'node [{node}] deleted successfully').format(node=self.args.node)) self.host.quit() def start(self): + common.checkURI(self.args) if not self.args.force: if not self.args.service: message = _(u"Are you sure to delete pep node [{node_id}] ?").format(