chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cef32a
)
Fix Tags <pattern> stats
author
Daniel Martí
<mvdan@mvdan.cc>
Tue, 11 Feb 2014 07:47:47 +0000
(08:47 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Tue, 11 Feb 2014 07:47:47 +0000
(08:47 +0100)
fdroidserver/stats.py
patch
|
blob
|
history
diff --git
a/fdroidserver/stats.py
b/fdroidserver/stats.py
index 40a6cfe1dd6cc5dd782363e09ff8c6dae1ed422d..fca6b73a61a8b3161a9e9db7c93945bc6d243304 100644
(file)
--- a/
fdroidserver/stats.py
+++ b/
fdroidserver/stats.py
@@
-194,7
+194,11
@@
def main():
logging.info("Processing update check modes...")
ucms = {}
for app in metaapps:
- checkmode = app['Update Check Mode'].split('/')[0]
+ checkmode = app['Update Check Mode']
+ if checkmode.startswith('RepoManifest/'):
+ checkmode = checkmode[:12]
+ if checkmode.startswith('Tags '):
+ checkmode = checkmode[:4]
if checkmode in ucms:
ucms[checkmode] += 1;
else: