From: Michael Orlitzky Date: Tue, 22 Sep 2009 06:49:48 +0000 (-0400) Subject: strip() whitespace from OptionParser descriptions. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=63612d67421c5bd193e6b97f4d777742e07fbbba;p=dead%2Fcensus-tools.git strip() whitespace from OptionParser descriptions. --- diff --git a/bin/find_avg_population_density b/bin/find_avg_population_density index e6d8ac7..05e2733 100755 --- a/bin/find_avg_population_density +++ b/bin/find_avg_population_density @@ -43,7 +43,7 @@ usage = '%prog [options] ' parser = OptionParser(usage=usage, add_help_option = False) # Use this module's docstring as the description. -parser.description = __doc__ +parser.description = __doc__.strip() parser.add_option('-h', '--host', diff --git a/bin/pg2kml b/bin/pg2kml index 084abcc..1fddabe 100755 --- a/bin/pg2kml +++ b/bin/pg2kml @@ -33,7 +33,7 @@ to stdout. parser = OptionParser(add_help_option = False) # Use this module's docstring as the description. -parser.description = __doc__ +parser.description = __doc__.strip() parser.add_option('-h', '--host',