Mercurial > python-cmd2
changeset 226:a64555659169
synch
author | catherine@dellzilla |
---|---|
date | Mon, 23 Mar 2009 09:57:01 -0400 |
parents | 061db156c99f |
children | fea183146819 |
files | cmd2.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/cmd2.py Thu Mar 19 17:34:21 2009 -0400 +++ b/cmd2.py Mon Mar 23 09:57:01 2009 -0400 @@ -880,8 +880,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')