Close #13500: Hitting EOF gets cmd.py into a infinite EOF on return loop
This commit is contained in:
parent
ed1ac587df
commit
a9837d8194
|
@ -205,6 +205,8 @@ class Cmd:
|
|||
if cmd is None:
|
||||
return self.default(line)
|
||||
self.lastcmd = line
|
||||
if line == 'EOF' :
|
||||
self.lastcmd = ''
|
||||
if cmd == '':
|
||||
return self.default(line)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue