Skip to content

Commit 12cc83b

Browse files
committed
Reverted preparse behavior to where it was (i.e. currently unused)
1 parent f9302ec commit 12cc83b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
* Replaced by default AutoCompleter implementation for all commands using argparse
3131
* Deleted support for old method of calling application commands with ``cmd()`` and ``self``
3232
* ``cmd2.redirector`` is no longer supported. Output redirection can only be done with '>' or '>>'
33+
* Deleted ``postparse()`` hook since it was redundant with ``postparsing_precmd``
3334
* Python 2 no longer supported
3435
* ``cmd2`` now supports Python 3.4+
3536
* Known Issues

cmd2/cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1679,7 +1679,7 @@ def onecmd_plus_hooks(self, line):
16791679
import datetime
16801680
stop = False
16811681
try:
1682-
statement = self._complete_statement(self.preparse(line))
1682+
statement = self._complete_statement(line)
16831683
(stop, statement) = self.postparsing_precmd(statement)
16841684
if stop:
16851685
return self.postparsing_postcmd(stop)

0 commit comments

Comments
 (0)