# HG changeset patch # User Jeff Hammel # Date 1330541951 28800 # Node ID a203f79c537f2df37ae95d1e9de0589b18bb921d # Parent 4ee086606772015e09fae644495653576f14ee33 better organization diff -r 4ee086606772 -r a203f79c537f makeitso/python_module/{{module}}.py --- a/makeitso/python_module/{{module}}.py Wed Feb 29 10:42:44 2012 -0800 +++ b/makeitso/python_module/{{module}}.py Wed Feb 29 10:59:11 2012 -0800 @@ -11,15 +11,13 @@ # parse command line arguments usage = '%prog [options] ...' - - # description formatter class PlainDescriptionFormatter(optparse.IndentedHelpFormatter): + """description formatter""" def format_description(self, description): if description: return description + '\n' else: return '' - parser = optparse.OptionParser(usage=usage, description=__doc__, formatter=PlainDescriptionFormatter()) options, args = parser.parse_args(args)