)]}'
{"octavia/db/repositories.py":[{"author":{"_account_id":17776,"name":"Reedip","email":"reedip.banerjee@gmail.com","username":"Reedip"},"change_message_id":"2ac12993dae505090a56d678ce608a107490c6ea","unresolved":false,"context_lines":[{"line_number":223,"context_line":"            if listener_id:"},{"line_number":224,"context_line":"                self.listener.update(session, listener_id,"},{"line_number":225,"context_line":"                                     default_pool_id\u003dpool_dict[\u0027id\u0027])"},{"line_number":226,"context_line":"            pool \u003d return self.pool.get(session, id\u003ddb_pool.id)"},{"line_number":227,"context_line":"        if pool:"},{"line_number":228,"context_line":"            return pool"},{"line_number":229,"context_line":"        else:"},{"line_number":230,"context_line":"            return self.pool.get(session, id\u003ddb_pool.id)"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"    def update_pool_and_sp(self, session, pool_id, pool_dict):"},{"line_number":233,"context_line":"        \"\"\"Updates a pool and session persistence entity in the database."}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_936b5aee","line":230,"range":{"start_line":226,"start_character":0,"end_line":230,"end_character":56},"updated":"2018-09-20 16:27:59.000000000","message":"Is it possible that the else part does not exactly return pool info?\nI mean, there is an assumption here that pool info will be populated in the else loop, but I think this code can be changed to a while loop , so that in case there is any degradation in the system, the if-else does not always return an uneven information","commit_id":"e68fc2fea49d30037757e1323d298a9515a04444"}]}
