[wesnoth_addon_manager] Upload everything in the _server.pbl

There was no reason to filter the list of attributes, anything found in the _server.pbl is now also passed on to the addon server.
This commit is contained in:
Elias Pschernig 2014-02-16 21:12:34 +01:00
parent e6a15a68aa
commit 10df18d7cf

View File

@ -328,9 +328,8 @@ dependencies="%s"
"*.project"]
stuff = {}
for field in ["title", "author", "passphrase", "description",
"version", "icon", "type", "email", "translate"]:
stuff[field] = pbl.get_text_val(field)
for field in pbl.children():
stuff[field.name] = pbl.get_text_val(field.name)
mythread = cs.put_campaign_async(name, cfgfile, wmldir, ign, stuff)