1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-26 12:12:11 +01: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
commit 19b86e4708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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