1
0
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:
Michal Vyskocil 2009-06-19 08:47:06 +00:00
parent d764905730
commit 2f1c5f2627

View File

@ -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