annotate tests/packageB/packageB.py @ 40:39fa450b21bd default tip

updates for today
author Jeff Hammel <k0scist@gmail.com>
date Mon, 22 Feb 2016 14:16:09 -0800
parents 29b36a390857
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 #!/usr/bin/env python
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3 """
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4 packageB
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5 """
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7 import sys
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 from optparse import OptionParser
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10 def main(args=sys.argv[1:]):
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 # parse command line arguments
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
13 usage = '%prog [options] ...'
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
14 parser = OptionParser(usage=usage, description=__doc__)
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
15 options, args = parser.parse_args(args)
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
16
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
17 if __name__ == '__main__':
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
18 main()
29b36a390857 add some bogus packages ill need for da test
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
19