aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-03-22 21:38:50 +0530
committerbors-servo <lbergstrom+bors@mozilla.com>2016-03-22 21:38:50 +0530
commit805aa3a3ab6506cd7178cebf7886c306802137a5 (patch)
treeb93ff30db36ddf0e8d0e0c92cf4e7378798313be /python/servo/command_base.py
parent41060dbdd77b2bcd02d03c7fe00663f612bac2e4 (diff)
parent031a20df74ebce04e5b14af94c72a255afe05504 (diff)
downloadservo-805aa3a3ab6506cd7178cebf7886c306802137a5.tar.gz
servo-805aa3a3ab6506cd7178cebf7886c306802137a5.zip
Auto merge of #10123 - Ms2ger:use_nightly_rust, r=KiChjang
Remove unused use_nightly_rust function. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10123) <!-- Reviewable:end -->
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r--python/servo/command_base.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index 0c3fddce84f..9efad3a19c2 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -59,11 +59,6 @@ def host_triple():
return "%s-%s" % (cpu_type, os_type)
-def use_nightly_rust():
- envvar = os.environ.get("SERVO_USE_NIGHTLY_RUST", "0")
- return envvar != "0"
-
-
def call(*args, **kwargs):
"""Wrap `subprocess.call`, printing the command if verbose=True."""
verbose = kwargs.pop('verbose', False)