diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-07-11 13:50:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-11 13:50:40 -0400 |
commit | 8109e70b0442206103fa5fe1a3af79d1851d7ec1 (patch) | |
tree | 5bd5cf6da6167d34c6450b2f5fd3ce39e20682bd /cmd2/parsing.py | |
parent | dbd83973b62b87e8dc74426af410b0852360f7e8 (diff) | |
parent | c0699f7742506cc01de7a6ccdc60c1e1e397e60a (diff) | |
download | cmd2-git-8109e70b0442206103fa5fe1a3af79d1851d7ec1.tar.gz |
Merge pull request #717 from python-cmd2/statement_parser
Restore self.statement_parser to a public attribute in cmd2.Cmd
Diffstat (limited to 'cmd2/parsing.py')
-rw-r--r-- | cmd2/parsing.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) """ |