mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Avoid messy output when running apt stuff
This commit is contained in:
parent
4f3eaa5e23
commit
12bcd5d0f8
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ def tools_upgrade(operation_logger, auth, apps=None, system=False):
|
|||
logger.debug("Running apt command :\n{}".format(dist_upgrade))
|
||||
|
||||
callbacks = (
|
||||
lambda l: logger.info(l.rstrip()),
|
||||
lambda l: logger.info(l.rstrip() + "\r"),
|
||||
lambda l: logger.warning(l.rstrip()),
|
||||
)
|
||||
returncode = call_async_output(dist_upgrade, callbacks, shell=True)
|
||||
|
|
Loading…
Add table
Reference in a new issue