1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00

Fix typo in app link hrefs

This commit is contained in:
Daniel Martí 2014-08-28 15:36:09 +02:00
parent 5822df9231
commit a1f51ebb4d
2 changed files with 2 additions and 2 deletions

View File

@ -496,7 +496,7 @@ def read_metadata(xref=True):
# errors are caught early rather than when they hit the build server. # errors are caught early rather than when they hit the build server.
def linkres(appid): def linkres(appid):
if appid in apps: if appid in apps:
return ("fdroid:app" + appid, "Dummy name - don't know yet") return ("fdroid.app:" + appid, "Dummy name - don't know yet")
raise MetaDataException("Cannot resolve app id " + appid) raise MetaDataException("Cannot resolve app id " + appid)
for appid, app in apps.iteritems(): for appid, app in apps.iteritems():

View File

@ -716,7 +716,7 @@ def make_index(apps, sortedids, apks, repodir, archive, categories):
def linkres(appid): def linkres(appid):
if appid in apps: if appid in apps:
return ("fdroid:app" + appid, apps[appid]['Name']) return ("fdroid.app:" + appid, apps[appid]['Name'])
raise MetaDataException("Cannot resolve app id " + appid) raise MetaDataException("Cannot resolve app id " + appid)
addElement('desc', addElement('desc',