1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

Fix crash when reading dst package meta in 'linkpac' command

This commit is contained in:
Daniel Mach 2024-04-19 14:00:34 +02:00
parent 42e529f346
commit 1e64187151

View File

@ -3287,7 +3287,7 @@ def link_pac(
if disable_build or disable_publish:
meta_change = True
root = ET.fromstring(''.join(dst_meta))
root = ET.fromstring(b"".join(dst_meta))
if disable_build:
elm = root.find('build')