changeset 4:78033fd1078d

removing extra command-split
author catherine@cordelia
date Tue, 13 May 2008 09:21:43 -0400
parents 4520a1a073ff
children 2d6280e022e4
files cmd2.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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: