)]}'
{"freezer/openstack/osclients.py":[{"author":{"_account_id":16768,"name":"Ruslan Aliev","email":"raliev@mirantis.com","username":"raliev"},"change_message_id":"268afe4598cfc45acaf0fef0e3b3e35305be60f8","unresolved":false,"context_lines":[{"line_number":215,"context_line":"                time.sleep(5)"},{"line_number":216,"context_line":"            except Exception as e:"},{"line_number":217,"context_line":"                if str(e) \u003d\u003d \"snapshot has error state\":"},{"line_number":218,"context_line":"                    LOG.info(\"Delete snapshot in error state\" + snapshot.id)"},{"line_number":219,"context_line":"                    self.get_cinder().volume_snapshots.delete(snapshot)"},{"line_number":220,"context_line":"                    raise"},{"line_number":221,"context_line":"                LOG.exception(e)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5ff73747_fefd78b1","line":218,"updated":"2017-04-25 14:34:52.000000000","message":"Please add whitespace after \u0027state\u0027 word to prevent this pattern \u0027... in error state8badasd-66daaa...\u0027","commit_id":"44fdc2afc476eb6f38af2d05533d2e5e4d673a76"},{"author":{"_account_id":21224,"name":"jiaopengju","email":"jiaopengju_yewu@cmss.chinamobile.com","username":"jiaopengju"},"change_message_id":"92fb65b01305a9ef34731a647bedb6629bca1046","unresolved":false,"context_lines":[{"line_number":215,"context_line":"                time.sleep(5)"},{"line_number":216,"context_line":"            except Exception as e:"},{"line_number":217,"context_line":"                if str(e) \u003d\u003d \"snapshot has error state\":"},{"line_number":218,"context_line":"                    LOG.info(\"Delete snapshot in error state\" + snapshot.id)"},{"line_number":219,"context_line":"                    self.get_cinder().volume_snapshots.delete(snapshot)"},{"line_number":220,"context_line":"                    raise"},{"line_number":221,"context_line":"                LOG.exception(e)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5ff73747_01032511","line":218,"in_reply_to":"5ff73747_fefd78b1","updated":"2017-04-25 15:10:17.000000000","message":"Done","commit_id":"44fdc2afc476eb6f38af2d05533d2e5e4d673a76"},{"author":{"_account_id":16768,"name":"Ruslan Aliev","email":"raliev@mirantis.com","username":"raliev"},"change_message_id":"268afe4598cfc45acaf0fef0e3b3e35305be60f8","unresolved":false,"context_lines":[{"line_number":239,"context_line":"                    raise Exception(\"Volume copy has error state\")"},{"line_number":240,"context_line":"                time.sleep(5)"},{"line_number":241,"context_line":"            except Exception as e:"},{"line_number":242,"context_line":"                if str(e) \u003d\u003d \"Volume copy has error state\":"},{"line_number":243,"context_line":"                    LOG.info(\"Delete volume in error state\" + volume.id)"},{"line_number":244,"context_line":"                    self.get_cinder().volumes.delete(volume.id)"},{"line_number":245,"context_line":"                    raise"}],"source_content_type":"text/x-python","patch_set":1,"id":"5ff73747_5e958c3f","line":242,"updated":"2017-04-25 14:34:52.000000000","message":"Do we have another option to compare exception type besides this one?","commit_id":"44fdc2afc476eb6f38af2d05533d2e5e4d673a76"},{"author":{"_account_id":21224,"name":"jiaopengju","email":"jiaopengju_yewu@cmss.chinamobile.com","username":"jiaopengju"},"change_message_id":"92fb65b01305a9ef34731a647bedb6629bca1046","unresolved":false,"context_lines":[{"line_number":239,"context_line":"                    raise Exception(\"Volume copy has error state\")"},{"line_number":240,"context_line":"                time.sleep(5)"},{"line_number":241,"context_line":"            except Exception as e:"},{"line_number":242,"context_line":"                if str(e) \u003d\u003d \"Volume copy has error state\":"},{"line_number":243,"context_line":"                    LOG.info(\"Delete volume in error state\" + volume.id)"},{"line_number":244,"context_line":"                    self.get_cinder().volumes.delete(volume.id)"},{"line_number":245,"context_line":"                    raise"}],"source_content_type":"text/x-python","patch_set":1,"id":"5ff73747_740ce93a","line":242,"in_reply_to":"5ff73747_5e958c3f","updated":"2017-04-25 15:10:17.000000000","message":"I use RuntimeError instead.","commit_id":"44fdc2afc476eb6f38af2d05533d2e5e4d673a76"},{"author":{"_account_id":16768,"name":"Ruslan Aliev","email":"raliev@mirantis.com","username":"raliev"},"change_message_id":"268afe4598cfc45acaf0fef0e3b3e35305be60f8","unresolved":false,"context_lines":[{"line_number":240,"context_line":"                time.sleep(5)"},{"line_number":241,"context_line":"            except Exception as e:"},{"line_number":242,"context_line":"                if str(e) \u003d\u003d \"Volume copy has error state\":"},{"line_number":243,"context_line":"                    LOG.info(\"Delete volume in error state\" + volume.id)"},{"line_number":244,"context_line":"                    self.get_cinder().volumes.delete(volume.id)"},{"line_number":245,"context_line":"                    raise"},{"line_number":246,"context_line":"                LOG.exception(e)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5ff73747_3ee2c002","line":243,"updated":"2017-04-25 14:34:52.000000000","message":"Same thing as line 218","commit_id":"44fdc2afc476eb6f38af2d05533d2e5e4d673a76"},{"author":{"_account_id":21224,"name":"jiaopengju","email":"jiaopengju_yewu@cmss.chinamobile.com","username":"jiaopengju"},"change_message_id":"92fb65b01305a9ef34731a647bedb6629bca1046","unresolved":false,"context_lines":[{"line_number":240,"context_line":"                time.sleep(5)"},{"line_number":241,"context_line":"            except Exception as e:"},{"line_number":242,"context_line":"                if str(e) \u003d\u003d \"Volume copy has error state\":"},{"line_number":243,"context_line":"                    LOG.info(\"Delete volume in error state\" + volume.id)"},{"line_number":244,"context_line":"                    self.get_cinder().volumes.delete(volume.id)"},{"line_number":245,"context_line":"                    raise"},{"line_number":246,"context_line":"                LOG.exception(e)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5ff73747_141da565","line":243,"in_reply_to":"5ff73747_3ee2c002","updated":"2017-04-25 15:10:17.000000000","message":"Done","commit_id":"44fdc2afc476eb6f38af2d05533d2e5e4d673a76"}]}
