mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-12 23:56:13 +01:00
properly create url for metafile constructor
This commit is contained in:
parent
d764905730
commit
2f1c5f2627
@ -1135,8 +1135,9 @@ rev: %s
|
||||
if url == None:
|
||||
url = ET.SubElement(tree, 'url')
|
||||
url.text = self.url
|
||||
|
||||
mf = metafile(self.apiurl, ET.tostring(tree))
|
||||
|
||||
u = makeurl(self.apiurl, ['source', self.prjname, self.name, '_meta'])
|
||||
mf = metafile(u, ET.tostring(tree))
|
||||
|
||||
print '*' * 36, 'old', '*' * 36
|
||||
print m
|
||||
|
Loading…
Reference in New Issue
Block a user