mirror of
https://github.com/servo/servo.git
synced 2025-07-27 01:00:41 +01:00
Create a util.py Python module for common functions
Extracting these functions helps avoid circular dependencies, and make them easier to find/reuse.
This commit is contained in:
parent
5b8d783f4c
commit
02b054ec9e
6 changed files with 160 additions and 141 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue