merged main branch

This commit is contained in:
Goffi 2016-06-24 22:41:28 +02:00
commit a28bb7be8f

View file

@ -105,14 +105,13 @@ class ProfileInfo(base.CommandBase):
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):