Bug 1332722 - mozboot: Improve prompt formatting. r?gps draft
authorRalph Giles <giles@mozilla.com>
Wed, 18 Jan 2017 09:24:52 -0800
changeset 464260 37320bf3c11dd66a924c4240bab220e3003efac3
parent 464259 2f4e4368ffdb18da9683f3b5ba71b02ec3a20b1a
child 464261 3256df0068f9ab3c7c5b6e868575a4a26f9f63cd
push id42324
push userbmo:giles@thaumas.net
push dateFri, 20 Jan 2017 20:13:09 +0000
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()