Mercurial > python-cmd2
diff cmd2.py @ 229:caa475678e24
synch to dellzilla
author | catherine@Elli.myhome.westell.com |
---|---|
date | Mon, 23 Mar 2009 10:02:32 -0400 |
parents | 68b444aeaf8b |
children | fea183146819 |
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')