Mercurial > hg > carton
diff tests/packageA/packageA.py @ 6:29b36a390857
add some bogus packages ill need for da test
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 08 Jul 2011 10:52:53 -0700 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/packageA/packageA.py Fri Jul 08 10:52:53 2011 -0700 @@ -0,0 +1,19 @@ +#!/usr/bin/env python + +""" +packageA +""" + +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() +