changeset 142:a203f79c537f

better organization
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 29 Feb 2012 10:59:11 -0800
parents 4ee086606772
children 702216c49594
files makeitso/python_module/{{module}}.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)