chiark / gitweb /
convert internal representation of AntiFeatures to list
[fdroidserver.git] / fdroidserver / stats.py
index b320f9dbcbd470ced610f8a4f4c02c1df8605b94..5df006948176b9bfe0f8759e21f1b4a21107b483 100644 (file)
@@ -256,8 +256,7 @@ def main():
     for app in metaapps:
         if app['AntiFeatures'] is None:
             continue
-        antifeatures = [a.strip() for a in app['AntiFeatures'].split(',')]
-        for antifeature in antifeatures:
+        for antifeature in app['AntiFeatures']:
             afs[antifeature] += 1
     with open('stats/antifeatures.txt', 'w') as f:
         for antifeature, count in afs.most_common():