1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

Don't separate RM by branches on UCM stats

This commit is contained in:
Daniel Martí 2013-05-24 23:48:03 +02:00
parent 0861f870a3
commit f40ec0eaaa

View File

@ -176,7 +176,7 @@ def main():
# Calculate and write stats for update check modes... # Calculate and write stats for update check modes...
ucms = {} ucms = {}
for app in metaapps: for app in metaapps:
checkmode = app['Update Check Mode'] checkmode = app['Update Check Mode'].split('/')[0]
if checkmode in ucms: if checkmode in ucms:
ucms[checkmode] += 1; ucms[checkmode] += 1;
else: else:
@ -199,8 +199,6 @@ def main():
f.write(license + ' ' + str(count) + '\n') f.write(license + ' ' + str(count) + '\n')
f.close() f.close()
# Write list of latest apps added to the repo... # Write list of latest apps added to the repo...
latest = knownapks.getlatest(10) latest = knownapks.getlatest(10)
f = open('stats/latestapps.txt', 'w') f = open('stats/latestapps.txt', 'w')