Refactor bootstrap.py script for readability

This commit is contained in:
Erik Sundell
2021-10-18 00:01:55 +02:00
parent d9e525d853
commit ba84229c8f
2 changed files with 138 additions and 102 deletions

View File

@@ -10,6 +10,9 @@ import pluggy
from tljh import hooks
# This function is needed also by the bootstrap script that starts this
# installer script. Make sure its replica at bootstrap/bootstrap.py stays in
# sync with this version!
def run_subprocess(cmd, *args, **kwargs):
"""
Run given cmd with smart output behavior.