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

Add timestamp to index

This commit is contained in:
Ciaran Gultnieks 2013-12-11 11:22:12 +00:00
parent 75180dc126
commit 34470eaa2b

View File

@ -479,6 +479,7 @@ def make_index(apps, apks, repodir, archive, categories):
repoel.setAttribute("icon", os.path.basename(config['repo_icon'])) repoel.setAttribute("icon", os.path.basename(config['repo_icon']))
repoel.setAttribute("url", config['repo_url']) repoel.setAttribute("url", config['repo_url'])
addElement('description', config['repo_description'], doc, repoel) addElement('description', config['repo_description'], doc, repoel)
repoel.setAttribute("timestamp", str(int(time.time())))
if config['repo_keyalias'] is not None: if config['repo_keyalias'] is not None: