]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Don't print repeated commands.
authorGuido van Rossum <guido@python.org>
Mon, 27 Jan 1992 16:59:04 +0000 (16:59 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 27 Jan 1992 16:59:04 +0000 (16:59 +0000)
Lib/cmd.py

index d28e3932861e7d6b7ce18e3ca0c85aee93f782f8..ab37a98dfa673ecd92cc9b74c22aad1ddd3e1c87 100644 (file)
@@ -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)