Bug 1332722 - mozboot: Improve prompt formatting. r=gps
authorRalph Giles <giles@mozilla.com>
Wed, 18 Jan 2017 09:24:52 -0800
changeset 330484 9710f861673f2dc0bd25db1f8fc6d092f06f0e66
parent 330483 8c3f028204919bc85aa873a224adbd5686c104ac
child 330485 b1c3caea8b7eb19ad5ed4933bee53966b09f41c4
push id31239
push userphilringnalda@gmail.com
push dateSat, 21 Jan 2017 23:23:51 +0000
treeherdermozilla-central@160914d65dac [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1332722
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1332722 - mozboot: Improve prompt formatting. r=gps Adjust newlines so prompt and result information is easier to read. MozReview-Commit-ID: BbJldqZ6G4
python/mozboot/mozboot/bootstrap.py
--- a/python/mozboot/mozboot/bootstrap.py
+++ b/python/mozboot/mozboot/bootstrap.py
@@ -50,18 +50,17 @@ want to work on web rendering, you want 
 
 If you don't know what you want, start with just Artifact Mode of the desired
 platform. Your builds will be much shorter than if you build Gecko as well.
 But don't worry! You can always switch configurations later.
 
 You can learn more about Artifact mode builds at
 https://developer.mozilla.org/en-US/docs/Artifact_builds.
 
-Your choice:
-'''
+Your choice: '''
 
 APPLICATIONS_LIST=[
     ('Firefox for Desktop Artifact Mode', 'browser_artifact_mode'),
     ('Firefox for Desktop', 'browser'),
     ('Firefox for Android Artifact Mode', 'mobile_android_artifact_mode'),
     ('Firefox for Android', 'mobile_android'),
 ]
 
@@ -85,18 +84,17 @@ If you would like to use a different dir
 MOZBUILD_STATE_PATH environment variable to the directory you'd like to
 use and re-run the bootstrapper.
 
 Would you like to create this directory?
 
   1. Yes
   2. No
 
-Your choice:
-'''
+Your choice: '''
 
 FINISHED = '''
 Your system should be ready to build %s!
 '''
 
 SOURCE_ADVERTISE = '''
 Source code can be obtained by running
 
@@ -117,17 +115,17 @@ Mozilla recommends a number of changes t
 experience with it.
 
 Would you like to run a configuration wizard to ensure Mercurial is
 optimally configured?
 
   1. Yes
   2. No
 
-Please enter your reply: '''.lstrip()
+Please enter your reply: '''
 
 CLONE_MERCURIAL = '''
 If you would like to clone the canonical Mercurial repository, please
 enter the destination path below.
 
 (If you prefer to use Git, leave this blank.)
 
 Destination directory for Mercurial clone (leave empty to not clone): '''.lstrip()