1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

Add an app id attribute to the index to make finding things easier

This commit is contained in:
Ciaran Gultnieks 2010-12-05 11:29:31 +00:00
parent 8883126e06
commit f08f9c1b88

View File

@ -192,6 +192,7 @@ for app in apps:
if app['disabled'] is None: if app['disabled'] is None:
apps_inrepo += 1 apps_inrepo += 1
apel = doc.createElement("application") apel = doc.createElement("application")
apel.setAttribute("id", app['id'])
root.appendChild(apel) root.appendChild(apel)
addElement('id', app['id'], doc, apel) addElement('id', app['id'], doc, apel)