From 63612d67421c5bd193e6b97f4d777742e07fbbba Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 22 Sep 2009 02:49:48 -0400 Subject: [PATCH] strip() whitespace from OptionParser descriptions. --- bin/find_avg_population_density | 2 +- bin/pg2kml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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', -- 2.43.2