1
0
Fork 0

Catalog includes description / authors per variant.

This commit is contained in:
James Turner 2016-11-12 16:00:08 +01:00
parent cee226183c
commit 52bceabab7

View file

@ -264,6 +264,12 @@ for scm in scm_list:
package_node.append(variant_node)
variant_node.append( make_xml_leaf('id', variant['id']) )
variant_node.append( make_xml_leaf('name', variant['name']) )
if 'description' in variant:
variant_node.append( make_xml_leaf('description', variant['description']) )
if 'authors' in variant:
variant_node.append( make_xml_leaf('author', variant['author']) )
package_node.append( make_xml_leaf('dir', name) )
if not download_base.endswith('/'):
download_base += '/'
@ -332,4 +338,3 @@ files = os.listdir(output_dir)
for file in files:
if file.endswith('.zip')and not file in valid_zips:
print "orphaned zip:", file