Added support for donate links in the metadata - sooner or later these will be used in the client

This commit is contained in:
Ciaran Gultnieks 2011-01-19 00:12:36 +00:00
parent 986f44f6d5
commit 9e9aa79c44
4 changed files with 10 additions and 0 deletions

View file

@ -34,6 +34,7 @@ def read_metadata():
thisinfo['web'] = ''
thisinfo['source'] = ''
thisinfo['tracker'] = ''
thisinfo['donate'] = ''
thisinfo['disabled'] = None
thisinfo['antifeatures'] = None
thisinfo['marketversion'] = ''
@ -70,6 +71,8 @@ def read_metadata():
thisinfo['web'] = value
elif field == 'Issue Tracker':
thisinfo['tracker'] = value
elif field == 'Donate':
thisinfo['donate'] = value
elif field == 'Disabled':
thisinfo['disabled'] = value
elif field == 'AntiFeatures':