Mercurial > hg > PaInt
view paint/main.py @ 46:bb3c646e9516
python 2.4 compatability
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 02 Apr 2012 10:43:56 -0700 |
parents | 7e9eb858d086 |
children | 8cd1fe277856 |
line wrap: on
line source
#!/usr/bin/env python """ python PAckage INTrospection """ import commandparser import package import sys def main(args=sys.argv[1:]): parser = commandparser.CommandParser(package.Package) parser.invoke(args) if __name__ == '__main__': main()