)]}'
{"gnocchi/archive_policy.py":[{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"3150a0b13f3bf32660580ff826f6ef5232cf457a","unresolved":false,"context_lines":[{"line_number":167,"context_line":"                raise ValueError("},{"line_number":168,"context_line":"                    \"At least two of granularity/points/timespan \""},{"line_number":169,"context_line":"                    \"must be provided\")"},{"line_number":170,"context_line":"            granularity \u003d round(timespan / float(points))"},{"line_number":171,"context_line":"        else:"},{"line_number":172,"context_line":"            granularity \u003d float(granularity)"},{"line_number":173,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"ba8a016a_84169a53","line":170,"range":{"start_line":170,"start_character":43,"end_line":170,"end_character":48},"updated":"2015-11-17 19:21:25.000000000","message":"round will give us an int\n\nhttps://docs.python.org/3/library/functions.html#round","commit_id":"c4ada6e4b36ecc0e94ac425c88e689806e28d914"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"2e9f6c4f53bda04434ed341c37bf91577fed45f4","unresolved":false,"context_lines":[{"line_number":167,"context_line":"                raise ValueError("},{"line_number":168,"context_line":"                    \"At least two of granularity/points/timespan \""},{"line_number":169,"context_line":"                    \"must be provided\")"},{"line_number":170,"context_line":"            granularity \u003d round(timespan / float(points))"},{"line_number":171,"context_line":"        else:"},{"line_number":172,"context_line":"            granularity \u003d float(granularity)"},{"line_number":173,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"ba8a016a_0ccb96a6","line":170,"in_reply_to":"ba8a016a_84169a53","updated":"2015-11-18 09:01:31.000000000","message":"The return value is an integer if called with one argument, otherwise of the same type as number.\n\nsince we divide by a float, it\u0027ll return a float :)","commit_id":"c4ada6e4b36ecc0e94ac425c88e689806e28d914"}]}
