commit ddc436925887b6ece4aba19a36e53ede0b22ae21
Author: Ben Nemec <email address hidden>
Date: Wed Nov 28 19:38:48 2018 +0000
Support non-dict mappings in mask_dict_password
mask_dict_password doesn't actually have a dependency on the dict
type specifically. It can work on any subclass of collections.Mapping.
This changes the isinstance check to reflect that and adds a unit
test using a collections.Mapping subclass.
Reviewed: https:/ /review. openstack. org/620686 /git.openstack. org/cgit/ openstack/ oslo.utils/ commit/ ?id=ddc43692588 7b6ece4aba19a36 e53ede0b22ae21
Committed: https:/
Submitter: Zuul
Branch: master
commit ddc436925887b6e ce4aba19a36e53e de0b22ae21
Author: Ben Nemec <email address hidden>
Date: Wed Nov 28 19:38:48 2018 +0000
Support non-dict mappings in mask_dict_password
mask_ dict_password doesn't actually have a dependency on the dict Mapping.
type specifically. It can work on any subclass of collections.
This changes the isinstance check to reflect that and adds a unit
test using a collections.Mapping subclass.
Change-Id: I28781acf027b9b 34f8274196db5dd 4d2a9adc9ba
Closes-Bug: 1804528