mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
quality: unused function
This commit is contained in:
parent
13d50f4f9a
commit
50f86af51a
1 changed files with 0 additions and 7 deletions
|
@ -474,13 +474,6 @@ def tools_upgrade(operation_logger, target=None):
|
|||
|
||||
logger.debug("Running apt command :\n{}".format(dist_upgrade))
|
||||
|
||||
def is_relevant(line):
|
||||
irrelevants = [
|
||||
"service sudo-ldap already provided",
|
||||
"Reading database ...",
|
||||
]
|
||||
return all(i not in line.rstrip() for i in irrelevants)
|
||||
|
||||
callbacks = (
|
||||
lambda l: logger.info("+ " + l.rstrip() + "\r")
|
||||
if _apt_log_line_is_relevant(l)
|
||||
|
|
Loading…
Add table
Reference in a new issue