Mercurial > hg > PaInt
view paint/main.py @ 44:14556787478c
python 2.4 compatability
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 30 Mar 2012 16:46:49 -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()