changeset 149:d37ee77a9317

strip the description
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 23 Mar 2012 10:30:28 -0700
parents e3ba71e7b927
children 59feed7c9b4a
files makeitso/python_package/{{package}}/main.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/makeitso/python_package/{{package}}/main.py	Sun Mar 18 20:25:51 2012 -0700
+++ b/makeitso/python_package/{{package}}/main.py	Fri Mar 23 10:30:28 2012 -0700
@@ -15,7 +15,7 @@
         """description formatter for console script entry point"""
         def format_description(self, description):
             if description:
-                return description + '\n'
+                return description.strip() + '\n'
             else:
                 return ''
     parser = optparse.OptionParser(usage=usage, description=__doc__, formatter=PlainDescriptionFormatter())