)]}'
{"openstack_dashboard/utils/metering.py":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"eba0f206dbc1a9838d6a91d2b0f72228b341925c","unresolved":false,"context_lines":[{"line_number":49,"context_line":"        period \u003d delta.total_seconds() / number_of_samples"},{"line_number":50,"context_line":"    else:"},{"line_number":51,"context_line":"        # If some date is missing, just set static window to one day."},{"line_number":52,"context_line":"        period \u003d int(datetime.timedelta(days\u003d1).total_seconds())"},{"line_number":53,"context_line":"    return period"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"9a68dd71_b5c6a214","line":52,"updated":"2016-01-26 22:23:06.000000000","message":"Does not look like we are even using this method. Why not use round instead of int? and why not do the same for the line above?","commit_id":"7ac67693d20202abc0edeb6cd33763fb449fe8ae"},{"author":{"_account_id":14151,"name":"ziyu032","email":"chen.qiaomin@99cloud.net","username":"ziyu032"},"change_message_id":"2a5f123874706fa4fdf17eb9acfaffb2ecc96be8","unresolved":false,"context_lines":[{"line_number":49,"context_line":"        period \u003d delta.total_seconds() / number_of_samples"},{"line_number":50,"context_line":"    else:"},{"line_number":51,"context_line":"        # If some date is missing, just set static window to one day."},{"line_number":52,"context_line":"        period \u003d int(datetime.timedelta(days\u003d1).total_seconds())"},{"line_number":53,"context_line":"    return period"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"9a68dd71_b4169ba5","line":52,"in_reply_to":"9a68dd71_b5c6a214","updated":"2016-01-27 03:57:40.000000000","message":"+1","commit_id":"7ac67693d20202abc0edeb6cd33763fb449fe8ae"},{"author":{"_account_id":15424,"name":"javeme","email":"javaloveme@gmail.com","username":"javeme"},"change_message_id":"45b8f3e33fb1b782a224291b61f40206f9dd746a","unresolved":false,"context_lines":[{"line_number":49,"context_line":"        period \u003d delta.total_seconds() / number_of_samples"},{"line_number":50,"context_line":"    else:"},{"line_number":51,"context_line":"        # If some date is missing, just set static window to one day."},{"line_number":52,"context_line":"        period \u003d int(datetime.timedelta(days\u003d1).total_seconds())"},{"line_number":53,"context_line":"    return period"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"7a5de9d1_7b9a5c16","line":52,"in_reply_to":"9a68dd71_b5c6a214","updated":"2016-01-28 02:48:01.000000000","message":"total_seconds() returns a float value \"86400.0\", in order to be consistent with previous type, we convert it to an int. Maybe it\u0027s ok to just return a float value, but I\u0027m not sure.","commit_id":"7ac67693d20202abc0edeb6cd33763fb449fe8ae"}]}
