mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
fix correct order in aggregate template
This commit is contained in:
parent
a854423e86
commit
fb77b7b9f8
10
osc/core.py
10
osc/core.py
@ -3954,18 +3954,20 @@ def aggregate_pac(src_project, src_package, dst_project, dst_package, repo_map =
|
||||
<aggregatelist>
|
||||
<aggregate project="%s">
|
||||
""" % (src_project)
|
||||
for tgt, src in repo_map.iteritems():
|
||||
aggregate_template += """\
|
||||
<repository target="%s" source="%s" />
|
||||
""" % (tgt, src)
|
||||
|
||||
aggregate_template += """\
|
||||
<package>%s</package>
|
||||
""" % ( src_package)
|
||||
|
||||
if nosources:
|
||||
aggregate_template += """\
|
||||
<nosources />
|
||||
"""
|
||||
for src, tgt in repo_map.iteritems():
|
||||
aggregate_template += """\
|
||||
<repository target="%s" source="%s" />
|
||||
""" % (tgt, src)
|
||||
|
||||
aggregate_template += """\
|
||||
</aggregate>
|
||||
</aggregatelist>
|
||||
|
Loading…
Reference in New Issue
Block a user