Mercurial > hg > MakeItSo
changeset 153:a5ea79f3221f
.strip() the description
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 01 Dec 2012 19:15:48 -0800 |
parents | 88f5bab340a1 |
children | ebc5cfe17d95 |
files | makeitso/python_module/{{module}}.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/makeitso/python_module/{{module}}.py Sat Dec 01 19:12:58 2012 -0800 +++ b/makeitso/python_module/{{module}}.py Sat Dec 01 19:15:48 2012 -0800 @@ -16,7 +16,7 @@ """description formatter""" 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())