From d7d8cd44c1bae8f9026474177fa31fa5e0a0da1e Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 27 Jan 1992 16:59:04 +0000 Subject: [PATCH] Don't print repeated commands. --- Lib/cmd.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/cmd.py b/Lib/cmd.py index d28e3932861..ab37a98dfa6 100644 --- a/Lib/cmd.py +++ b/Lib/cmd.py @@ -28,7 +28,6 @@ def onecmd(self, line): line = string.strip(line) if not line: line = self.lastcmd - print line else: self.lastcmd = line i, n = 0, len(line)