aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
authorAneesh Agrawal <aneeshusa@gmail.com>2017-01-13 21:55:33 -0500
committerAneesh Agrawal <aneeshusa@gmail.com>2017-01-15 15:21:35 -0500
commit02b054ec9e799705296d5545a744bbf766ddbae6 (patch)
tree9aa1c1319a1dc4033304850ecc6578eb6716eb8e /python/servo/build_commands.py
parent5b8d783f4cb622fa68c5270b27ebad1e838ee7cb (diff)
downloadservo-02b054ec9e799705296d5545a744bbf766ddbae6.tar.gz
servo-02b054ec9e799705296d5545a744bbf766ddbae6.zip
Create a util.py Python module for common functions
Extracting these functions helps avoid circular dependencies, and make them easier to find/reuse.
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r--python/servo/build_commands.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index 6e7ec8d24c5..5fbb7ba164d 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -24,7 +24,8 @@ from mach.decorators import (
Command,
)
-from servo.command_base import CommandBase, cd, call, BIN_SUFFIX, host_triple, find_dep_path_newest
+from servo.command_base import CommandBase, cd, call, BIN_SUFFIX, find_dep_path_newest
+from servo.util import host_triple
def format_duration(seconds):