From: Daniel Martí Date: Fri, 24 Oct 2014 20:24:11 +0000 (+0200) Subject: Make lint report total app counts as well X-Git-Tag: 0.3.0~36 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5df1d89c8e09babefe4fdae1c91242d35e5690b0;p=fdroidserver.git Make lint report total app counts as well --- diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index 3f95117a..bfacc2da 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -171,6 +171,8 @@ def main(): if app['Disabled']: continue + count['app_total'] += 1 + 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 - 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()