core: minor typos, docstring/comments update
This commit is contained in:
parent
f7a83dd054
commit
03cffe789c
6 changed files with 7 additions and 11 deletions
|
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
|
||||
# SàT plugin for import external blogs
|
||||
# SàT plugin managing Mercurial VCS
|
||||
# Copyright (C) 2009-2020 Jérôme Poisson (goffi@goffi.org)
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
|
||||
# SAT plugin for Ad-Hoc Commands (XEP-0050)
|
||||
# SàT plugin for Ad-Hoc Commands (XEP-0050)
|
||||
# Copyright (C) 2009-2020 Jérôme Poisson (goffi@goffi.org)
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ class CommandProtocol(protocol.ProcessProtocol):
|
|||
"""Create a new CommandProtocol and execute the given command.
|
||||
|
||||
@param *args(unicode): command arguments
|
||||
if cls.command is specified, it will be the path to the command to execture
|
||||
if cls.command is specified, it will be the path to the command to execute
|
||||
otherwise, first argument must be the path
|
||||
@param **kwargs: can be:
|
||||
- stdin(unicode, None): data to push to standard input
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
|
||||
# SAT: a jabber client
|
||||
# SaT: an XMPP client
|
||||
# Copyright (C) 2009-2020 Jérôme Poisson (goffi@goffi.org)
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
|
||||
# SAT: a jabber client
|
||||
# SaT: an XMPP client
|
||||
# Copyright (C) 2009-2020 Jérôme Poisson (goffi@goffi.org)
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ class Run(base.CommandBase):
|
|||
|
||||
|
||||
class List(base.CommandBase):
|
||||
"""Run an Ad-Hoc command"""
|
||||
"""List Ad-Hoc commands available on a service"""
|
||||
|
||||
def __init__(self, host):
|
||||
super(List, self).__init__(
|
||||
|
|
@ -175,7 +175,7 @@ class List(base.CommandBase):
|
|||
"-j",
|
||||
"--jid",
|
||||
default="",
|
||||
help=_("jid of the service (default: profile's server"),
|
||||
help=_("jid of the service (default: profile's server)"),
|
||||
)
|
||||
|
||||
async def start(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue