Mercurial > hg > CommandParser
comparison commandparser/command.py @ 2:d36032625794
add __all__ and whitespace cleanup
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Fri, 30 Mar 2012 09:00:18 -0700 |
| parents | e2a78e13424e |
| children | 406183d93e48 |
comparison
equal
deleted
inserted
replaced
| 1:e2a78e13424e | 2:d36032625794 |
|---|---|
| 6 import json | 6 import json |
| 7 import os | 7 import os |
| 8 import sys | 8 import sys |
| 9 from optparse import OptionParser | 9 from optparse import OptionParser |
| 10 from pprint import pprint | 10 from pprint import pprint |
| 11 | |
| 12 __all__ = ['Undefined', 'CommandParser'] | |
| 11 | 13 |
| 12 class Undefined(object): | 14 class Undefined(object): |
| 13 def __init__(self, default): | 15 def __init__(self, default): |
| 14 self.default=default | 16 self.default=default |
| 15 | 17 |
