image-minimizer: Fix decode() usage
Related: rhbz#1955674
This commit is contained in:
parent
427e364388
commit
17cb4f879f
@ -70,7 +70,7 @@ class ImageMinimizer:
|
|||||||
not_found = True
|
not_found = True
|
||||||
for hdr in mi:
|
for hdr in mi:
|
||||||
not_found = False
|
not_found = False
|
||||||
rpms.add(hdr['name'].decode("utf8"))
|
rpms.add(hdr['name'])
|
||||||
if self.verbose and not_found:
|
if self.verbose and not_found:
|
||||||
print("%s package not found" % pattern)
|
print("%s package not found" % pattern)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user