aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-09-23 07:39:50 -0600
committerbors-servo <metajack+bors@gmail.com>2015-09-23 07:39:50 -0600
commit83435d77650382d5901603170f028f5888ea82c1 (patch)
tree7b7cad1a51352790e7975fa3e1a0a92ffa786eeb
parentf7f16870bebdc9359661544054259b37780f1331 (diff)
parent65e50be6571e4039c684d7039bf26211d0f14c91 (diff)
downloadservo-83435d77650382d5901603170f028f5888ea82c1.tar.gz
servo-83435d77650382d5901603170f028f5888ea82c1.zip
Auto merge of #7716 - servo:host-triple-assign, r=Manishearth
Fix a comparison that should be an assignment in host_triple(). <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7716) <!-- Reviewable:end -->
-rw-r--r--python/servo/command_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index af39ffb8bdf..4de1caf5f71 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -36,9 +36,9 @@ def host_triple():
elif os_type == "darwin":
os_type = "apple-darwin"
elif os_type == "android":
- os_type == "linux-androideabi"
+ os_type = "linux-androideabi"
else:
- os_type == "unknown"
+ os_type = "unknown"
cpu_type = subprocess.check_output(["uname", "-m"]).strip().lower()
if cpu_type in ["i386", "i486", "i686", "i768", "x86"]: