Fix adi projects having no archs

This commit is contained in:
Stephan Kulow 2022-03-30 10:48:08 +02:00
parent adef152cb7
commit 6773c20695

View File

@ -1441,6 +1441,7 @@ class StagingAPI(object):
for arch in self.cstaging_archs:
a = ET.SubElement(repository, 'arch')
a.text = arch
meta = ET.tostring(root)
url = make_meta_url('prj', name, self.apiurl)
http_PUT(url, data=meta)
# put twice because on first put, the API adds useless maintainer