diff makeitso/python_package/{{package}}/main.py @ 139:23652cbfdfad

whitespace
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 21 Feb 2012 21:02:33 -0800
parents d9201f911458
children 3046e15c3dd7
line wrap: on
line diff
--- a/makeitso/python_package/{{package}}/main.py	Tue Feb 21 21:01:28 2012 -0800
+++ b/makeitso/python_package/{{package}}/main.py	Tue Feb 21 21:02:33 2012 -0800
@@ -9,19 +9,19 @@
 
 def main(args=sys.argv[:]):
 
-  # parse command line options
-  usage = '%prog [options]'
+    # parse command line options
+    usage = '%prog [options]'
 
-  # description formatter
-  class PlainDescriptionFormatter(optparse.IndentedHelpFormatter):
-    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)
+    # description formatter
+    class PlainDescriptionFormatter(optparse.IndentedHelpFormatter):
+        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)
 
 if __name__ == '__main__':
-  main()  
+  main()