1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-06 15:43:39 +02:00

Merge pull request #677 from andreas-schwab/master

fix decoding for osc aggregatepac
This commit is contained in:
Marco Strigl
2019-11-13 16:14:25 +01:00
committed by GitHub

View File

@@ -5237,7 +5237,7 @@ def aggregate_pac(src_project, src_package, dst_project, dst_package, repo_map =
path_args=(quote_plus(dst_project), quote_plus(dst_package)),
template_args=None,
create_new=False, apiurl=apiurl)
root = ET.fromstring(''.join(dst_meta))
root = ET.fromstring(b''.join(dst_meta))
if root.get('project') != dst_project:
# The source comes from a different project via a project link, we need to create this instance
meta_change = True