Bug 1332722 - mozboot: Improve prompt formatting. r=gps
authorRalph Giles <giles@mozilla.com>
Wed, 18 Jan 2017 09:24:52 -0800
changeset 330371 9710f861673f2dc0bd25db1f8fc6d092f06f0e66
parent 330370 8c3f028204919bc85aa873a224adbd5686c104ac
child 330372 b1c3caea8b7eb19ad5ed4933bee53966b09f41c4
push id36321
push userrgiles@mozilla.com
push dateSat, 21 Jan 2017 00:16:14 +0000
treeherderautoland@b1c3caea8b7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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
--- 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
-Your choice:
+Your choice: '''
     ('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: '''
 Your system should be ready to build %s!
 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: '''
 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()