cmd.py: Fixing bug: missing output because of forgotten flush() call

This commit is contained in:
Qubasa
2024-01-10 20:52:14 +01:00
parent 3ed58de082
commit 038aa769aa
2 changed files with 4 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ import os
import sys
from pathlib import Path
from ..cmd import run
from ..cmd import Log, run
from ..nix import nix_build, nix_config, nix_eval
from ..ssh import Host, parse_deployment_address
@@ -18,6 +18,7 @@ def build_machine_data(machine_name: str, clan_dir: Path) -> dict:
f'{clan_dir}#clanInternals.machines."{system}"."{machine_name}".config.system.clan.deployment.file'
]
),
log=Log.BOTH,
error_msg="failed to build machine data",
)