1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-08 05:58:43 +02:00

Fix 'linkpac' command crash when used with '--disable-build' or '--disable-publish' option

This commit is contained in:
2024-07-01 09:31:14 +02:00
parent 8f634225c9
commit 7cd9635537
2 changed files with 29 additions and 1 deletions

View File

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