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:
3829896
)
Make lint report total app counts as well
author
Daniel Martí
<mvdan@mvdan.cc>
Fri, 24 Oct 2014 20:24:11 +0000
(22:24 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Fri, 24 Oct 2014 20:24:11 +0000
(22:24 +0200)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index 3f95117a4a022d1fcd877c6018799581eef0015a..bfacc2da93c50426ddc0b020de5bd518884bcbb4 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-171,6
+171,8
@@
def main():
if app['Disabled']:
continue
if app['Disabled']:
continue
+ count['app_total'] += 1
+
for build in app['builds']:
if build['commit'] and not build['disable']:
lastcommit = build['commit']
for build in app['builds']:
if build['commit'] and not build['disable']:
lastcommit = build['commit']
@@
-251,7
+253,8
@@
def main():
if not curid:
print
if not curid:
print
- logging.info("Found a total of %i warnings in %i apps." % (count['warn'], count['app']))
+ logging.info("Found a total of %i warnings in %i apps out of %i total." % (
+ count['warn'], count['app'], count['app_total']))
if __name__ == "__main__":
main()
if __name__ == "__main__":
main()