Mercurial > python-cmd2
changeset 229:caa475678e24
synch to dellzilla
author | catherine@Elli.myhome.westell.com |
---|---|
date | Mon, 23 Mar 2009 10:02:32 -0400 |
parents | 68b444aeaf8b |
children | fea183146819 |
files | cmd2.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/cmd2.py Mon Mar 23 08:32:03 2009 -0400 +++ b/cmd2.py Mon Mar 23 10:02:32 2009 -0400 @@ -889,8 +889,7 @@ """Runs script of command(s) from a file or URL.""" if fname is None: fname = self.default_file_name - #keepstate = Statekeeper(self, ('stdin','use_rawinput','prompt','continuation_prompt')) - keepstate = Statekeeper(self, ('stdin','use_rawinput','continuation_prompt')) + keepstate = Statekeeper(self, ('stdin','use_rawinput','prompt','continuation_prompt')) try: if isinstance(fname, file): target = open(fname, 'r')