mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
Add update_check_modes.txt to stats/
This commit is contained in:
parent
d8054700cc
commit
5f2e1d76c2
@ -159,6 +159,19 @@ def main():
|
||||
f.write(rtype + ' ' + str(count) + '\n')
|
||||
f.close()
|
||||
|
||||
# Calculate and write stats for update check modes...
|
||||
ucms = {}
|
||||
for app in metaapps:
|
||||
checkmode = app['Update Check Mode']
|
||||
if checkmode in ucms:
|
||||
ucms[checkmode] += 1;
|
||||
else:
|
||||
ucms[checkmode] = 1
|
||||
f = open('stats/update_check_modes.txt', 'w')
|
||||
for checkmode, count in ucms.iteritems():
|
||||
f.write(checkmode + ' ' + str(count) + '\n')
|
||||
f.close()
|
||||
|
||||
# Calculate and write stats for licenses...
|
||||
licenses = {}
|
||||
for app in metaapps:
|
||||
|
Loading…
Reference in New Issue
Block a user