1
0
Fork 0

Silence matrix-commander's output

This commit is contained in:
Luca Beltrame 2022-01-16 00:37:12 +01:00
parent 60e735f4e5
commit 4f7978f74d
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

View file

@ -178,7 +178,7 @@ def notify_matrix(update_data: Dict[str, List[Tuple[str, str]]]) -> None:
cmd = [MATRIX_COMMANDER, "--markdown", "-m", message] cmd = [MATRIX_COMMANDER, "--markdown", "-m", message]
logging.debug("Sending Matrix notification") logging.debug("Sending Matrix notification")
sarge.run(cmd, stdout=subprocess.DEVNULL) sarge.run(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
def commit_changes(cache_file: str, repo_home: str) -> None: def commit_changes(cache_file: str, repo_home: str) -> None: