Mercurial > hg > MakeItSo
changeset 197:bb57bec165b7
fix errors with template
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 09 Jun 2014 20:25:45 -0700 |
parents | d25ca7099df8 |
children | be7e2e336d7a |
files | makeitso/python_package/{{package}}/{{main}}.py setup.py |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/makeitso/python_package/{{package}}/{{main}}.py Sat May 24 18:24:17 2014 -0700 +++ b/makeitso/python_package/{{package}}/{{main}}.py Mon Jun 09 20:25:45 2014 -0700 @@ -32,7 +32,7 @@ self.options = None def parse_args(self, *args, **kw): - options = argparse.ArgumentParser.parse_args(*args, **kw) + options = argparse.ArgumentParser.parse_args(self, *args, **kw) self.validate(options) self.options = options return options @@ -44,7 +44,7 @@ """CLI""" # parse command line options - parser = Parser(description=__doc__) + parser = Parser() options = parser.parse_args(args) if __name__ == '__main__':