Mercurial > hg > carton
comparison 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 |
comparison
equal
deleted
inserted
replaced
5:7ea2b5f12b2d | 6:29b36a390857 |
---|---|
1 #!/usr/bin/env python | |
2 | |
3 """ | |
4 packageA | |
5 """ | |
6 | |
7 import sys | |
8 from optparse import OptionParser | |
9 | |
10 def main(args=sys.argv[1:]): | |
11 | |
12 # parse command line arguments | |
13 usage = '%prog [options] ...' | |
14 parser = OptionParser(usage=usage, description=__doc__) | |
15 options, args = parser.parse_args(args) | |
16 | |
17 if __name__ == '__main__': | |
18 main() | |
19 |