From 35ec62b1f8dc9a3de397cdcd9cdd66cd2c381f0e Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Wed, 10 Jul 2019 21:21:03 -0400 Subject: Restore self.statement_parser to a public attribute in cmd2.Cmd --- cmd2/parsing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd2/parsing.py') diff --git a/cmd2/parsing.py b/cmd2/parsing.py index 86087db1..2e94516a 100644 --- a/cmd2/parsing.py +++ b/cmd2/parsing.py @@ -324,7 +324,7 @@ class StatementParser: This string is suitable for inclusion in an error message of your choice: - valid, errmsg = _statement_parser.is_valid_command('>') + valid, errmsg = statement_parser.is_valid_command('>') if not valid: errmsg = "Alias {}".format(errmsg) """ -- cgit v1.2.1