This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new c839705  Fix typo in airflow/cli/cli_parser.py (#9980)
c839705 is described below

commit c839705bf62313827e3f0c4468176923624627a4
Author: Kaxil Naik <[email protected]>
AuthorDate: Fri Jul 24 22:47:25 2020 +0100

    Fix typo in airflow/cli/cli_parser.py (#9980)
    
    `action_subcommnads` -> `action_subcommands`
    `group_subcommnands` -> `group_subcommands`
---
 airflow/cli/cli_parser.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/airflow/cli/cli_parser.py b/airflow/cli/cli_parser.py
index ae1bf83..359e87b 100644
--- a/airflow/cli/cli_parser.py
+++ b/airflow/cli/cli_parser.py
@@ -1323,13 +1323,13 @@ class AirflowHelpFormatter(argparse.HelpFormatter):
 
             self._indent()
             subactions = action._get_subactions()  # pylint: 
disable=protected-access
-            action_subcommnads, group_subcommnands = partition(
+            action_subcommands, group_subcommands = partition(
                 lambda d: isinstance(ALL_COMMANDS_DICT[d.dest], GroupCommand), 
subactions
             )
             parts.append("\n")
             parts.append('%*s%s:\n' % (self._current_indent, '', "Groups"))
             self._indent()
-            for subaction in group_subcommnands:
+            for subaction in group_subcommands:
                 parts.append(self._format_action(subaction))
             self._dedent()
 
@@ -1337,7 +1337,7 @@ class AirflowHelpFormatter(argparse.HelpFormatter):
             parts.append('%*s%s:\n' % (self._current_indent, '', "Commands"))
             self._indent()
 
-            for subaction in action_subcommnads:
+            for subaction in action_subcommands:
                 parts.append(self._format_action(subaction))
             self._dedent()
             self._dedent()

Reply via email to