Mercurial > libervia-backend
diff frontends/src/jp/cmd_profile.py @ 1969:5fbe09b9b568
merged main branch
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 24 Jun 2016 22:41:28 +0200 |
parents | 3e168cde7a7d 227a4e617549 |
children | 1d3f73e065e1 |
line wrap: on
line diff
--- a/frontends/src/jp/cmd_profile.py Mon Jun 20 23:07:53 2016 +0200 +++ b/frontends/src/jp/cmd_profile.py Fri Jun 24 22:41:28 2016 +0200 @@ -105,14 +105,13 @@ class ProfileList(base.CommandBase): def __init__(self, host): - super(ProfileList, self).__init__(host, 'list', use_profile=False, help=_('list profiles')) + super(ProfileList, self).__init__(host, 'list', use_profile=False, use_output='list', help=_('list profiles')) def add_parser_options(self): pass def start(self): - for profile in self.host.bridge.getProfilesList(): - print profile + self.output(self.host.bridge.getProfilesList()) class ProfileCreate(base.CommandBase):