diff options
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | cmd2/cmd2.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d58aff9..5836d34d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ * Replaced by default AutoCompleter implementation for all commands using argparse * Deleted support for old method of calling application commands with ``cmd()`` and ``self`` * ``cmd2.redirector`` is no longer supported. Output redirection can only be done with '>' or '>>' + * Deleted ``postparse()`` hook since it was redundant with ``postparsing_precmd`` * Python 2 no longer supported * ``cmd2`` now supports Python 3.4+ * Known Issues diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 05902a3c..ce19cda8 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -1679,7 +1679,7 @@ class Cmd(cmd.Cmd): import datetime stop = False try: - statement = self._complete_statement(self.preparse(line)) + statement = self._complete_statement(line) (stop, statement) = self.postparsing_precmd(statement) if stop: return self.postparsing_postcmd(stop) |