Commit c4e7bb31 authored by laforge@chromium.org's avatar laforge@chromium.org

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
parent 1a6e63ff
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment