comparison frontends/src/jp/cmd_profile.py @ 1199:96fb74a4714d

misc: fixed some typos
author Matteo Cypriani <mcy@lm7.fr>
date Mon, 15 Sep 2014 14:18:25 +0200
parents 75025461141f
children 069ad98b360d
comparison
equal deleted inserted replaced
1198:16ce9a6580a3 1199:96fb74a4714d
16 16
17 # You should have received a copy of the GNU Affero General Public License 17 # You should have received a copy of the GNU Affero General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. 18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 19
20 """This module permits to manage profiles. It can list, create, delete 20 """This module permits to manage profiles. It can list, create, delete
21 and retrieve informations about a profile.""" 21 and retrieve information about a profile."""
22 22
23 from logging import debug, info, error, warning 23 from logging import debug, info, error, warning
24 from sat.core.i18n import _ 24 from sat.core.i18n import _
25 from sat_frontends.jp import base 25 from sat_frontends.jp import base
26 from sat_frontends.tools.jid import JID 26 from sat_frontends.tools.jid import JID
45 self.host.bridge.asyncDeleteProfile(self.args.profile, callback=lambda dummy: None) 45 self.host.bridge.asyncDeleteProfile(self.args.profile, callback=lambda dummy: None)
46 46
47 47
48 class ProfileInfo(base.CommandBase): 48 class ProfileInfo(base.CommandBase):
49 def __init__(self, host): 49 def __init__(self, host):
50 super(ProfileInfo, self).__init__(host, 'info', use_profile=False, help=_('Get informations about a profile')) 50 super(ProfileInfo, self).__init__(host, 'info', use_profile=False, help=_('Get information about a profile'))
51 51
52 def add_parser_options(self): 52 def add_parser_options(self):
53 self.parser.add_argument('profile', type=str, help=PROFILE_HELP) 53 self.parser.add_argument('profile', type=str, help=PROFILE_HELP)
54 54
55 def run(self): 55 def run(self):