Mercurial > hg > MakeItSo
diff makeitso/python_package/{{package}}/template.py @ 95:e74baa8e6df4
fix CLI interface a bit....write a test for it
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 11 Jan 2011 09:06:25 -0800 |
parents | c434b83ab600 |
children | ad5fd3eb6674 |
line wrap: on
line diff
--- a/makeitso/python_package/{{package}}/template.py Tue Jan 11 07:33:59 2011 -0800 +++ b/makeitso/python_package/{{package}}/template.py Tue Jan 11 09:06:25 2011 -0800 @@ -24,9 +24,8 @@ def main(args=sys.argv[:]): cli = TemplateCLI() - template = cli.parse() - template.substitue() - + cli(args) + if __name__ == '__main__': main()