From 02b054ec9e799705296d5545a744bbf766ddbae6 Mon Sep 17 00:00:00 2001 From: Aneesh Agrawal Date: Fri, 13 Jan 2017 21:55:33 -0500 Subject: Create a util.py Python module for common functions Extracting these functions helps avoid circular dependencies, and make them easier to find/reuse. --- python/servo/build_commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python/servo/build_commands.py') 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): -- cgit v1.2.3