changeset 3368:e86b71b1aa31

core: minor typos, docstring/comments update
author Goffi <goffi@goffi.org>
date Sun, 20 Sep 2020 14:05:40 +0200 (2020-09-20)
parents 90aee1f2d07c
children 96b2f84a685c
files sat/plugins/plugin_merge_req_mercurial.py sat/plugins/plugin_xep_0050.py sat/tools/common/async_process.py sat/tools/common/files_utils.py sat/tools/utils.py sat_frontends/jp/cmd_adhoc.py
diffstat 6 files changed, 7 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_merge_req_mercurial.py	Sun Sep 20 14:04:22 2020 +0200
+++ b/sat/plugins/plugin_merge_req_mercurial.py	Sun Sep 20 14:05:40 2020 +0200
@@ -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
--- a/sat/plugins/plugin_xep_0050.py	Sun Sep 20 14:04:22 2020 +0200
+++ b/sat/plugins/plugin_xep_0050.py	Sun Sep 20 14:05:40 2020 +0200
@@ -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
--- a/sat/tools/common/async_process.py	Sun Sep 20 14:04:22 2020 +0200
+++ b/sat/tools/common/async_process.py	Sun Sep 20 14:05:40 2020 +0200
@@ -99,7 +99,7 @@
         """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
--- a/sat/tools/common/files_utils.py	Sun Sep 20 14:04:22 2020 +0200
+++ b/sat/tools/common/files_utils.py	Sun Sep 20 14:05:40 2020 +0200
@@ -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
--- a/sat/tools/utils.py	Sun Sep 20 14:04:22 2020 +0200
+++ b/sat/tools/utils.py	Sun Sep 20 14:05:40 2020 +0200
@@ -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
--- a/sat_frontends/jp/cmd_adhoc.py	Sun Sep 20 14:04:22 2020 +0200
+++ b/sat_frontends/jp/cmd_adhoc.py	Sun Sep 20 14:05:40 2020 +0200
@@ -163,7 +163,7 @@
 
 
 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 @@
             "-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):