From: Michael Tremer Date: Fri, 3 Oct 2008 12:27:43 +0000 (+0200) Subject: Do only count build time greater than one our. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2daea7c7259f3e0ca87abd97a44c501b26dd3a4;p=ipfire.org.git Do only count build time greater than one our. --- diff --git a/build/builder.py b/build/builder.py index 4ed3feb1..cce07e50 100644 --- a/build/builder.py +++ b/build/builder.py @@ -135,7 +135,10 @@ class DurationsConfig: if not len(durations): return None for value in durations: - sum += int("%s" % value) + duration = int("%s" % value) + if duration < 3600: + continue + sum += duration avg = sum / len(durations) return avg