Mercurial > hg > MakeItSo
view templates/script.py @ 71:95d1bb85ab3c
add a copy method to a variable to get a non-futzed copy
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 07 Jan 2011 16:53:55 -0800 |
parents | a82aa8b2ad93 |
children |
line wrap: on
line source
#!/usr/bin/env python """ {{description}} """ import sys from optparse import OptionParser def main(args=sys.argv[:]): usage = '%prog [options]' parser = OptionParser(usage=usage, description=__doc__) options, args = parser.parse_args(args) if __name__ == '__main__': main()