mirror of https://github.com/python/cpython.git
Don't print repeated commands.
This commit is contained in:
parent
23efba4cd1
commit
d7d8cd44c1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue