Katello / katello-client-bootstrap

Bootstrap Script for migrating systems to Foreman & Katello
GNU General Public License v2.0
52 stars 63 forks source link

don't fail decoding data from RPM #348

Closed evgeni closed 3 years ago

evgeni commented 3 years ago

some versions of the RPM bindings will return strings, some bytes, some unicode… And only some of these know decode(). So let's just catch that AttributeError and assume there is nothing to decode if it's raised.

Fixes bootstrap on EL 8.5+ which got a "fixed" RPM. See https://bugzilla.redhat.com/1840142 for some background.

evgeni commented 3 years ago

CI fixes in #349

ehelms commented 3 years ago

Needs rebase

evgeni commented 3 years ago

Needs rebase

it has been done