# HG changeset patch # User catherine@cordelia # Date 1210684903 14400 # Node ID 78033fd1078d0878bc687f6906d7cb77ccf8751d # Parent 4520a1a073ff60a8a222bbb14786128658e4e267 removing extra command-split diff -r 4520a1a073ff -r 78033fd1078d cmd2.py --- a/cmd2.py Tue May 13 08:29:18 2008 -0400 +++ b/cmd2.py Tue May 13 09:21:43 2008 -0400 @@ -120,8 +120,6 @@ statement = '%s %s' % (statement, self.fileimport(statement=statement, source=redirect)) stop = cmd.Cmd.onecmd(self, statement) try: - # unnecessary to compute command again? - command = statement.split(None,1)[0].lower() if command not in self.excludeFromHistory: self.history.append(statement) finally: