Mercurial > python-cmd2
comparison cmd2.py @ 399:f7cb69b0da9e
change version number to 0.6.2
author | catherine.devlin@gmail.com |
---|---|
date | Sun, 19 Sep 2010 15:42:47 -0400 |
parents | 7812e00ff5b1 |
children | 2fccf9c87fe7 |
comparison
equal
deleted
inserted
replaced
398:7812e00ff5b1 | 399:f7cb69b0da9e |
---|---|
45 import pyparsing_py3 as pyparsing | 45 import pyparsing_py3 as pyparsing |
46 raw_input = input | 46 raw_input = input |
47 else: | 47 else: |
48 import pyparsing | 48 import pyparsing |
49 | 49 |
50 _version__ = '0.6.1' | 50 _version__ = '0.6.2' |
51 | 51 |
52 class OptionParser(optparse.OptionParser): | 52 class OptionParser(optparse.OptionParser): |
53 def exit(self, status=0, msg=None): | 53 def exit(self, status=0, msg=None): |
54 self.values._exit = True | 54 self.values._exit = True |
55 if msg: | 55 if msg: |