mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue