projects
/
profile
/
ivi
/
python.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update to 2.7.3
[profile/ivi/python.git]
/
Lib
/
cmd.py
diff --git
a/Lib/cmd.py
b/Lib/cmd.py
index
29ea460
..
ae7f12e
100644
(file)
--- a/
Lib/cmd.py
+++ b/
Lib/cmd.py
@@
-209,6
+209,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: