Permalink
Browse files

[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.
  • Loading branch information...
1 parent e6a15a6 commit 10df18d7cf062585334247a73dd2fe7e2702a19c @allefant allefant committed Feb 16, 2014
Showing with 2 additions and 3 deletions.
  1. +2 −3 data/tools/wesnoth_addon_manager
@@ -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)

0 comments on commit 10df18d

Please sign in to comment.