Merge lp:~lapsu/graphite/fix into lp:~graphite-dev/graphite/main
Proposed by Matthew Graham
| Status: | Merged |
|---|---|
| Merge reported by: | Michael Leinartas |
| Merged at revision: | not available |
| Proposed branch: | lp:~lapsu/graphite/fix |
| Merge into: | lp:~graphite-dev/graphite/main |
| Diff against target: | 17 lines (+2/-2) 1 file modified webapp/graphite/render/functions.py (+2/-2) |
| To merge this branch: | bzr merge lp:~lapsu/graphite/fix |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Leinartas | Approve | ||
| Review via email: | |||
Description of the change
movingAverage makes the window size a float when generating the new name (even though the window size must be an integer). When bootstrapping holt-winters with the moving average function, this broke things. Now movingAverage doesn't convert to a float and casts it back to an integer if it does come in as a float.
Also, I don't really understand bzr and it took me quite a bit longer to get this patch on launchpad than it took to make it. I would definitely support a move to a git backed hosting service in case anyone is thinking about it.
To post a comment you must log in.

I feel your bzr pain.. Feel free to just open a bug with a diff attached next time if it's less hassle.
I haven't run into a problem with this, but it is clear that the window should be an integer. I've merged it into the main branch.
Thanks for the fix!