mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Don't print repeated commands.
This commit is contained in:
parent
23efba4cd1
commit
d7d8cd44c1
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue