mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-12 23:56:13 +01:00
Fix crash when reading dst package meta in 'linkpac' command
This commit is contained in:
parent
42e529f346
commit
1e64187151
@ -3287,7 +3287,7 @@ def link_pac(
|
|||||||
|
|
||||||
if disable_build or disable_publish:
|
if disable_build or disable_publish:
|
||||||
meta_change = True
|
meta_change = True
|
||||||
root = ET.fromstring(''.join(dst_meta))
|
root = ET.fromstring(b"".join(dst_meta))
|
||||||
|
|
||||||
if disable_build:
|
if disable_build:
|
||||||
elm = root.find('build')
|
elm = root.find('build')
|
||||||
|
Loading…
Reference in New Issue
Block a user