aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2020-01-02 13:56:16 +0100
committerSimon Sapin <simon.sapin@exyr.org>2020-01-02 14:20:18 +0100
commitcef92a2050fae29d7ae810da43d387ee57b00273 (patch)
tree8bf9a020b61976f2451094d6e1352bb5460c95c6 /python/servo/bootstrap_commands.py
parent728133611656f37480b96103dcc1d025f7d12ba3 (diff)
downloadservo-cef92a2050fae29d7ae810da43d387ee57b00273.tar.gz
servo-cef92a2050fae29d7ae810da43d387ee57b00273.zip
Mach: rename default_toolchain to rust_toolchain
Diffstat (limited to 'python/servo/bootstrap_commands.py')
-rw-r--r--python/servo/bootstrap_commands.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py
index 835c7bf21c2..b8a88314609 100644
--- a/python/servo/bootstrap_commands.py
+++ b/python/servo/bootstrap_commands.py
@@ -281,8 +281,7 @@ class MachCommands(CommandBase):
default='1',
help='Keep up to this many most recent nightlies')
def clean_nightlies(self, force=False, keep=None):
- default_toolchain = self.default_toolchain()
- print("Current Rust version for Servo: {}".format(default_toolchain))
+ print("Current Rust version for Servo: {}".format(self.rust_toolchain()))
old_toolchains = []
keep = int(keep)
stdout = subprocess.check_output(['git', 'log', '--format=%H', 'rust-toolchain'])