)]}'
{"tempest_lib/cmd/subunit_trace.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"4ba9dbdcdf1cbfe1094adf2108b1de06aef6498d","unresolved":false,"context_lines":[{"line_number":35,"context_line":"def total_seconds(timedelta):"},{"line_number":36,"context_line":"    # NOTE(mtreinish): This method is built-in to the timedelta class in"},{"line_number":37,"context_line":"    # python \u003e\u003d 2.7 it is here to enable it\u0027s use on older versions"},{"line_number":38,"context_line":"    return ((timedelta.days * DAY_SECONDS + timedelta.seconds)*10**6 +"},{"line_number":39,"context_line":"            timedelta.microseconds) / 10**6"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"def cleanup_test_name(name, strip_tags\u003dTrue, strip_scenarios\u003dFalse):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_28f11b01","line":38,"updated":"2015-01-07 16:11:42.000000000","message":"Looks correct per the docs:\n\nhttps://docs.python.org/2/library/datetime.html\n\ntimedelta.total_seconds()\n\nReturn the total number of seconds contained in the duration. Equivalent to (td.microseconds + (td.seconds + td.days * 24 * 3600) * 10**6) / 10**6 computed with true division enabled.\n\nNote that for very large time intervals (greater than 270 years on most platforms) this method will lose microsecond accuracy.\n\nNew in version 2.7.","commit_id":"a4b9b88f666510edb7b9a7eb70276ffbc0045d1d"}]}
