[fix] Microdecision : fix wobbly / messed up debug logs when running apt stuff inside app scripts

This commit is contained in:
Alexandre Aubin 2019-04-23 18:59:32 +02:00 committed by GitHub
parent 9696b14196
commit 3668bf7bc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -370,7 +370,7 @@ def hook_exec(path, args=None, raise_on_error=False, no_trace=False,
# Define output callbacks and call command
callbacks = (
stdout_callback if stdout_callback else lambda l: logger.debug(l.rstrip()),
stdout_callback if stdout_callback else lambda l: logger.debug(l.rstrip()+"\r"),
stderr_callback if stderr_callback else lambda l: logger.warning(l.rstrip()),
)