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