Mercurial > python-cmd2
comparison cmd2.py @ 400:2fccf9c87fe7
__version__ not _version__
author | catherine.devlin@gmail.com |
---|---|
date | Mon, 20 Sep 2010 00:59:39 -0400 |
parents | f7cb69b0da9e |
children | 3397b9c199f5 |
comparison
equal
deleted
inserted
replaced
399:f7cb69b0da9e | 400:2fccf9c87fe7 |
---|---|
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.2' | 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: |