mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix "dnf list upgrades" parsing
The header for the output of this command appears to have changed at some point, which breaks our output parsing. This adds the new header to the `_strip_headers()` helper so that we ignore it while parsing.
This commit is contained in:
parent
27fbb42210
commit
cd484bef69
@ -85,6 +85,7 @@ def _strip_headers(output, *args):
|
||||
if not args:
|
||||
args_lc = ('installed packages',
|
||||
'available packages',
|
||||
'available upgrades',
|
||||
'updated packages',
|
||||
'upgraded packages')
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user