summaryrefslogtreecommitdiffstats
path: root/Lib/cmd.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-01-27 16:59:04 (GMT)
committerGuido van Rossum <guido@python.org>1992-01-27 16:59:04 (GMT)
commitd7d8cd44c1bae8f9026474177fa31fa5e0a0da1e (patch)
treecb831286fb8b3ecc3827b4c06768c51f1ebf0d07 /Lib/cmd.py
parent23efba4cd1b28ac335371980f51b7ba6a77c6938 (diff)
downloadcpython-d7d8cd44c1bae8f9026474177fa31fa5e0a0da1e.zip
cpython-d7d8cd44c1bae8f9026474177fa31fa5e0a0da1e.tar.gz
cpython-d7d8cd44c1bae8f9026474177fa31fa5e0a0da1e.tar.bz2
Don't print repeated commands.
Diffstat (limited to 'Lib/cmd.py')
-rw-r--r--Lib/cmd.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/cmd.py b/Lib/cmd.py
index d28e393..ab37a98 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)