Update to 2.7.3
[profile/ivi/python.git] / Lib / cmd.py
index 29ea460..ae7f12e 100644 (file)
@@ -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: