diff --git a/fdroidserver/stats.py b/fdroidserver/stats.py index 31784d3f..c7bfde39 100644 --- a/fdroidserver/stats.py +++ b/fdroidserver/stats.py @@ -49,6 +49,8 @@ def main(): help="Spew out even more information than normal") parser.add_option("-d", "--download", action="store_true", default=False, help="Download logs we don't have") + parser.add_option("--nologs", action="store_true", default=False, + help="Don't do anything logs-related") (options, args) = parser.parse_args() config = common.read_config(options) @@ -105,51 +107,55 @@ def main(): if ssh is not None: ssh.close() - # Process logs - if options.verbose: - print 'Processing logs...' - logexpr = '(?P[.:0-9a-fA-F]+) - - \[(?P