mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Moar boring apt warnings to filter
This commit is contained in:
parent
2612df97d0
commit
c2c0358781
1 changed files with 6 additions and 0 deletions
|
@ -686,6 +686,12 @@ def _apt_log_line_is_relevant(line):
|
||||||
", does not exist on system.",
|
", does not exist on system.",
|
||||||
"unable to delete old directory",
|
"unable to delete old directory",
|
||||||
"update-alternatives:",
|
"update-alternatives:",
|
||||||
|
"Configuration file '/etc",
|
||||||
|
"==> Modified (by you or by a script) since installation.",
|
||||||
|
"==> Package distributor has shipped an updated version.",
|
||||||
|
"==> Keeping old config file as default.",
|
||||||
|
"is a disabled or a static unit",
|
||||||
|
" update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults",
|
||||||
]
|
]
|
||||||
return line.rstrip() and all(i not in line.rstrip() for i in irrelevants)
|
return line.rstrip() and all(i not in line.rstrip() for i in irrelevants)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue