From: Guido van Rossum Date: Mon, 27 Jan 1992 16:59:04 +0000 (+0000) Subject: Don't print repeated commands. X-Git-Tag: v0.9.8~533 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d7d8cd44c1bae8f9026474177fa31fa5e0a0da1e;p=thirdparty%2FPython%2Fcpython.git Don't print repeated commands. --- diff --git a/Lib/cmd.py b/Lib/cmd.py index d28e3932861e..ab37a98dfa67 100644 --- a/Lib/cmd.py +++ b/Lib/cmd.py @@ -28,7 +28,6 @@ class Cmd: line = string.strip(line) if not line: line = self.lastcmd - print line else: self.lastcmd = line i, n = 0, len(line)