mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Keep known_apks sorted for readable diffs
This commit is contained in:
parent
05e84365ec
commit
10196d04c7
@ -799,8 +799,11 @@ class KnownApks:
|
||||
if not os.path.exists('stats'):
|
||||
os.mkdir('stats')
|
||||
f = open(self.path, 'w')
|
||||
lst = []
|
||||
for apk, app in self.apks.iteritems():
|
||||
f.write(apk + ' ' + app + '\n')
|
||||
lst.append(apk + ' ' + app)
|
||||
for line in sorted(lst):
|
||||
f.write(line + '\n')
|
||||
f.close()
|
||||
|
||||
def recordapk(self, apk, app):
|
||||
|
1132
stats/known_apks.txt
1132
stats/known_apks.txt
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user