Mercurial > python-cmd2
diff cmd2.py @ 226:a64555659169
synch
author | catherine@dellzilla |
---|---|
date | Mon, 23 Mar 2009 09:57:01 -0400 |
parents | 061db156c99f |
children | fea183146819 |
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')