)]}'
{"nova/api/openstack/compute/contrib/simple_tenant_usage.py":[{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"161220c300d4d675e2cf05bd9b3447542c58f67f","unresolved":false,"context_lines":[{"line_number":214,"context_line":"            # NOTE(mriedem): NovaObjects are timezone-aware so we parse the"},{"line_number":215,"context_line":"            # timestamp into isotime so we can compare against the Instance"},{"line_number":216,"context_line":"            # object datetime fields later."},{"line_number":217,"context_line":"            return timeutils.parse_isotime(dtstr)"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"    def _get_datetime_range(self, req):"},{"line_number":220,"context_line":"        qs \u003d req.environ.get(\u0027QUERY_STRING\u0027, \u0027\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAT3%2F%2FqUc%3D","line":217,"updated":"2014-01-03 22:27:11.000000000","message":"This is way more lax than the code you removed, which means user-visible API changes in what we will accept for stamps parsed by this method.","commit_id":"554bd069516f42d3fe848541f0682845c7881036"},{"author":{"_account_id":4573,"name":"yunhong-jiang","email":"yunhong.jiang@intel.com","username":"yunhong-jiang"},"change_message_id":"b450b195454414c9ea896df1903d81cc66398490","unresolved":false,"context_lines":[{"line_number":214,"context_line":"            # NOTE(mriedem): NovaObjects are timezone-aware so we parse the"},{"line_number":215,"context_line":"            # timestamp into isotime so we can compare against the Instance"},{"line_number":216,"context_line":"            # object datetime fields later."},{"line_number":217,"context_line":"            return timeutils.parse_isotime(dtstr)"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"    def _get_datetime_range(self, req):"},{"line_number":220,"context_line":"        qs \u003d req.environ.get(\u0027QUERY_STRING\u0027, \u0027\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAT3%2F%2FqGw%3D","line":217,"in_reply_to":"AAAAT3%2F%2FqT4%3D","updated":"2014-01-04 00:27:10.000000000","message":"I don\u0027t fidn any documentation of the timezone of current API. So not sure if it will be correct if we do the UTC translation.","commit_id":"554bd069516f42d3fe848541f0682845c7881036"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"ef44b44a9e1cf904b98661bb229a824dc3dbfdae","unresolved":false,"context_lines":[{"line_number":214,"context_line":"            # NOTE(mriedem): NovaObjects are timezone-aware so we parse the"},{"line_number":215,"context_line":"            # timestamp into isotime so we can compare against the Instance"},{"line_number":216,"context_line":"            # object datetime fields later."},{"line_number":217,"context_line":"            return timeutils.parse_isotime(dtstr)"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"    def _get_datetime_range(self, req):"},{"line_number":220,"context_line":"        qs \u003d req.environ.get(\u0027QUERY_STRING\u0027, \u0027\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAT3%2F%2FqT4%3D","line":217,"in_reply_to":"AAAAT3%2F%2FqUc%3D","updated":"2014-01-03 22:32:26.000000000","message":"To cover what we talked about in IRC, I plan on reverting the code to the way it was and then forcing the resulting datetime to be tz-aware by doing something like result.replace(tzinfo\u003diso8601.iso8601.Utc()), that should make the parsed datetime comparable to the tz-aware fields on the instance object.","commit_id":"554bd069516f42d3fe848541f0682845c7881036"}]}
