diff options
author | Aneesh Agrawal <aneeshusa@gmail.com> | 2017-01-13 21:55:33 -0500 |
---|---|---|
committer | Aneesh Agrawal <aneeshusa@gmail.com> | 2017-01-15 15:21:35 -0500 |
commit | 02b054ec9e799705296d5545a744bbf766ddbae6 (patch) | |
tree | 9aa1c1319a1dc4033304850ecc6578eb6716eb8e /python/servo/build_commands.py | |
parent | 5b8d783f4cb622fa68c5270b27ebad1e838ee7cb (diff) | |
download | servo-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.py | 3 |
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): |