We don't care that 'apt-key output should not be parsed'

This commit is contained in:
Alexandre Aubin 2020-12-10 17:25:58 +01:00
parent 8790d51b8c
commit 5422a49d82

View file

@ -331,7 +331,8 @@ def hook_exec(path, args=None, raise_on_error=False, no_trace=False,
r"invalid value for trace file descriptor",
r"Creating config file .* with new version",
r"Created symlink /etc/systemd",
r"dpkg: warning: while removing .* not empty so not removed"
r"dpkg: warning: while removing .* not empty so not removed",
r"apt-key output should not be parsed"
]
return all(not re.search(w, msg) for w in irrelevant_warnings)