)]}'
{"ceilometer/objectstore/swift.py":[{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"fa2501979921eb1e5ff9e14fb52378c0b0ed94b0","unresolved":false,"context_lines":[{"line_number":107,"context_line":""},{"line_number":108,"context_line":"    def _iter_accounts(self, ksclient, cache):"},{"line_number":109,"context_line":"        if self.CACHE_KEY_TENANT not in cache:"},{"line_number":110,"context_line":"            cache[self.CACHE_KEY_TENANT] \u003d ksclient.tenants.list()"},{"line_number":111,"context_line":"        if self.CACHE_KEY_HEAD not in cache:"},{"line_number":112,"context_line":"            cache[self.CACHE_KEY_HEAD] \u003d list(self._get_account_info(ksclient,"},{"line_number":113,"context_line":"                                                                     cache))"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAPn%2F%2FRHY%3D","line":110,"updated":"2013-07-05 16:31:09.000000000","message":"i have synchronization concerns here having two separate caches for related items... i don\u0027t have an example so it could be unwarranted.  i guess ultimately, if the below CACHE_KEY_HEAD is set, CACHE_KEY_TENANT would never be needed...(unless that cache is used elsewhere)","commit_id":"3b251f2041dad042def705a9fa0029a112cdec13"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"fa2501979921eb1e5ff9e14fb52378c0b0ed94b0","unresolved":false,"context_lines":[{"line_number":111,"context_line":"        if self.CACHE_KEY_HEAD not in cache:"},{"line_number":112,"context_line":"            cache[self.CACHE_KEY_HEAD] \u003d list(self._get_account_info(ksclient,"},{"line_number":113,"context_line":"                                                                     cache))"},{"line_number":114,"context_line":"        return iter(cache[\u0027swift.head_account\u0027])"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"    def _get_account_info(self, ksclient, cache):"},{"line_number":117,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAPn%2F%2FRIU%3D","line":114,"updated":"2013-07-05 16:31:09.000000000","message":"(nit) use the constant instead of string.","commit_id":"3b251f2041dad042def705a9fa0029a112cdec13"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"fa2501979921eb1e5ff9e14fb52378c0b0ed94b0","unresolved":false,"context_lines":[{"line_number":122,"context_line":"            LOG.debug(_(\"Swift endpoint not found\"))"},{"line_number":123,"context_line":"            raise StopIteration()"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"        for t in cache[\u0027tenants\u0027]:"},{"line_number":126,"context_line":"            yield (t.id, swift.head_account(SwiftPollster."},{"line_number":127,"context_line":"                                            _neaten_url(endpoint, t.id),"},{"line_number":128,"context_line":"                                            ksclient.auth_token))"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAPn%2F%2FRHU%3D","line":125,"updated":"2013-07-05 16:31:09.000000000","message":"(nit) same as above (if we keep this)","commit_id":"3b251f2041dad042def705a9fa0029a112cdec13"}]}
