Don't print repeated commands.
This commit is contained in:
parent
23efba4cd1
commit
d7d8cd44c1
@ -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…
x
Reference in New Issue
Block a user