From babf5f3827267786a148be4db78117937b557d04 Mon Sep 17 00:00:00 2001 From: Tim Gates <tim.gates@iress.com> Date: Wed, 4 Dec 2019 22:50:02 +1100 Subject: [PATCH 1/2] Fix simple typo: recieve -> receive Closes #76 --- kubeshell/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubeshell/parser.py b/kubeshell/parser.py index eb41b68..5a1a8e3 100644 --- a/kubeshell/parser.py +++ b/kubeshell/parser.py @@ -78,7 +78,7 @@ def parse_tokens(self, tokens): parsed, unparsed, suggestions = self.treewalk(self.ast, parsed=list(), unparsed=tokens) if not suggestions and unparsed: # TODO: @vogxn: This is hack until we include expected value types for each option and argument. - # Whenver we recieve no suggestions but are left with unparsed tokens we pop the value and walk the + # Whenver we receive no suggestions but are left with unparsed tokens we pop the value and walk the # tree again without values logger.debug("unparsed tokens remain, possible value encountered") unparsed.pop() From 4d334da8fa14f53cece9e4bc5bcff2f621be3004 Mon Sep 17 00:00:00 2001 From: Tim Gates <tim.gates@iress.com> Date: Wed, 4 Dec 2019 22:51:38 +1100 Subject: [PATCH 2/2] Small additional typo. --- kubeshell/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubeshell/parser.py b/kubeshell/parser.py index 5a1a8e3..4a74a6e 100644 --- a/kubeshell/parser.py +++ b/kubeshell/parser.py @@ -78,7 +78,7 @@ def parse_tokens(self, tokens): parsed, unparsed, suggestions = self.treewalk(self.ast, parsed=list(), unparsed=tokens) if not suggestions and unparsed: # TODO: @vogxn: This is hack until we include expected value types for each option and argument. - # Whenver we receive no suggestions but are left with unparsed tokens we pop the value and walk the + # Whenever we receive no suggestions but are left with unparsed tokens we pop the value and walk the # tree again without values logger.debug("unparsed tokens remain, possible value encountered") unparsed.pop()