changeset 37:33e5d444ff30

fix
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 09 Apr 2012 13:20:05 -0700
parents 77285bafc36a
children 99c610473c17
files carton.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/carton.py	Mon Apr 09 13:17:38 2012 -0700
+++ b/carton.py	Mon Apr 09 13:20:05 2012 -0700
@@ -32,13 +32,13 @@
 """
 
 # imports
+import optparse
 import os
 import sys
 import subprocess
 import tarfile
 import tempfile
 import urllib2
-from optparse import OptionParser
 from StringIO import StringIO
 
 # global variables
@@ -188,7 +188,7 @@
                 return description.strip() + '\n'
             else:
                 return ''
-    parser = OptionParser(usage=usage, description=__doc__)
+    parser = optparse.OptionParser(usage=usage, description=__doc__, formatter=PlainDescriptionFormatter())
     parser.add_option('-o', dest='outfile',
                       help="specify outfile; otherwise it will come from environment_name")
     parser.add_option('-p', '--package', dest='package',