From future import division should make this return 1.5.

Shuhao
Sent from my phone.
On Aug 22, 2013 7:56 AM, "Peter Bengtsson" <notifications@github.com> wrote:

> In socorro/cron/jobs/suspicious_crashes.py:
>
> > @@ -0,0 +1,415 @@
> > +# This Source Code Form is subject to the terms of the Mozilla Public
> > +# License, v. 2.0. If a copy of the MPL was not distributed with this
> > +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
> > +
> > +from __future__ import division
> > +
> > +from datetime import timedelta
> > +from math import sqrt, log, pi, cos, sin, exp
> > +
> > +from configman import Namespace
> > +from socorro.cron.base import PostgresBackfillCronApp
> > +
> > +
> > +def mean(x):
>
> >>> sum([1,2]) / len([1,2])
> 1
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mozilla/socorro/pull/1394/files#r5925946>
> .
>