Mercurial > hg > carton
view tests/packageB/packageB.py @ 21:46882eaebb59
consolidate and order TODO for generated script
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 08 Jul 2011 18:04:21 -0700 |
parents | 29b36a390857 |
children |
line wrap: on
line source
#!/usr/bin/env python """ packageB """ import sys from optparse import OptionParser def main(args=sys.argv[1:]): # parse command line arguments usage = '%prog [options] ...' parser = OptionParser(usage=usage, description=__doc__) options, args = parser.parse_args(args) if __name__ == '__main__': main()