Index: gclient_scm.py |
diff --git a/gclient_scm.py b/gclient_scm.py |
index a1c26c90e3c6a5f407ab81d0a5ce7901e694ba87..89647ac0eb6f0c10cc6569d0804aba7605f0aa5f 100644 |
--- a/gclient_scm.py |
+++ b/gclient_scm.py |
@@ -799,9 +799,9 @@ class GitWrapper(SCMWrapper): |
'an existing branch or use \'git checkout %s -b <branch>\' to\n' |
'create a new branch for your work.') % (revision, self.remote)) |
- @staticmethod |
- def _AskForData(prompt, options): |
+ def _AskForData(self, prompt, options): |
if options.jobs > 1: |
+ self.Print(prompt) |
raise gclient_utils.Error("Background task requires input. Rerun " |
"gclient with --jobs=1 so that\n" |
"interaction is possible.") |