On prompts don't add a new line when printing.

Review URL: http://codereview.chromium.org/414060

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@32713 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
laforge@chromium.org 15 years ago
parent 1a6e63fff6
commit c4e7bb311e

@ -337,7 +337,7 @@ def prompt(question):
answer = None
while not answer:
print question + " [y|n]:"
print question + " [y|n]:",
answer = sys.stdin.readline()
if answer.lower().startswith('n'):
return False

Loading…
Cancel
Save