mirror of https://github.com/ansible/ansible.git
Handle dnf immutable mutable datatypes (#47434)
* Handle dnf immutable mutable datatypes
In DNF < 3.0 are lists, and modifying them works
In DNF >= 3.0 < 3.6 are lists, but modifying them doesn't work
In DNF >= 3.6 have been turned into tuples, to communicate that
modifying them doesn't work
Further explanation of this is available via Adam Williamson from
the Fedora QA Team.
https://www.happyassassin.net/2018/06/27/adams-debugging-adventures-the-immutable-mutable-object/
Signed-off-by: Adam Miller <admiller@redhat.com>
(cherry picked from commit 70025e7b56
)
* add backport changelog
Signed-off-by: Adam Miller <admiller@redhat.com>
pull/47468/head
parent
7812c065f4
commit
b14c45a16c
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
minor_changes:
|
||||||
|
- "dnf - properly handle modifying the enable/disable excludes data field"
|
Loading…
Reference in New Issue