aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/servo/bootstrap_commands.py2
-rw-r--r--python/servo/command_base.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py
index cca2589b52c..68edbdd38c8 100644
--- a/python/servo/bootstrap_commands.py
+++ b/python/servo/bootstrap_commands.py
@@ -38,7 +38,7 @@ def download(desc, src, dst):
sys.stdout.flush()
print("Downloading %s..." % desc)
- dumb = os.environ.get("TERM") == "dumb"
+ dumb = (os.environ.get("TERM") == "dumb") or (not sys.stdout.isatty())
PanickyUrlOpener().retrieve(src, dst, None if dumb else report)
if not dumb:
print()
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index 20ee3fb6527..4bcae97c11b 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -202,7 +202,7 @@ class CommandBase(object):
if self.context.bootstrapped:
return
- subprocess.check_call(["git", "submodule", "sync"])
+ subprocess.check_call(["git", "submodule", "--quiet", "sync", "--recursive"])
submodules = subprocess.check_output(["git", "submodule", "status"])
for line in submodules.split('\n'):
components = line.strip().split(' ')