Mercurial > python-cmd2
changeset 126:197a312f2656
push to get to v 126
author | catherine@dellzilla |
---|---|
date | Wed, 05 Nov 2008 14:16:24 -0500 |
parents | be7c2f2874a9 |
children | 8def9dec155f 31674148b13c |
files | cmd2.py setup.py |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/cmd2.py Wed Nov 05 14:03:36 2008 -0500 +++ b/cmd2.py Wed Nov 05 14:16:24 2008 -0500 @@ -19,13 +19,14 @@ - Catherine Devlin, Jan 03 2008 - catherinedevlin.blogspot.com +mercurial repository at http://www.assembla.com/wiki/show/python-cmd2 CHANGES: As of 0.3.0, options should be specified as `optparse` options. See README.txt. flagReader.py options are still supported for backward compatibility """ import cmd, re, os, sys, optparse, subprocess, tempfile, pyparsing, doctest, unittest from optparse import make_option -__version__ = '0.4.1' +__version__ = '0.4.2' class OptionParser(optparse.OptionParser): def exit(self, status=0, msg=None): @@ -774,6 +775,7 @@ line = line.rstrip() if line.startswith(bareprompt): line = line.replace(bareprompt, '', 1) + lines.append(line) return '\n'.join(lines).strip() def tearDown(self): if self.CmdApp: