Adjust matrix-commander's logging
This commit is contained in:
parent
4f7978f74d
commit
bab74fff83
1 changed files with 3 additions and 2 deletions
|
@ -176,9 +176,10 @@ def notify_matrix(update_data: Dict[str, List[Tuple[str, str]]]) -> None:
|
||||||
|
|
||||||
message = template.render(repositories=update_data, date=date)
|
message = template.render(repositories=update_data, date=date)
|
||||||
|
|
||||||
cmd = [MATRIX_COMMANDER, "--markdown", "-m", message]
|
cmd = [MATRIX_COMMANDER, "--markdown", "--loglevel", "ERROR",
|
||||||
|
"-m", message]
|
||||||
logging.debug("Sending Matrix notification")
|
logging.debug("Sending Matrix notification")
|
||||||
sarge.run(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
sarge.run(cmd, stdout=subprocess.DEVNULL)
|
||||||
|
|
||||||
|
|
||||||
def commit_changes(cache_file: str, repo_home: str) -> None:
|
def commit_changes(cache_file: str, repo_home: str) -> None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue