)]}'
{"ironic_python_agent/extensions/image.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"92b32ea8f8233b306ba7fe3d5d1e110f83f0118e","unresolved":false,"context_lines":[{"line_number":173,"context_line":"            else:"},{"line_number":174,"context_line":"                # After everything is umounted we can then remove the"},{"line_number":175,"context_line":"                # temporary directory"},{"line_number":176,"context_line":"                shutil.rmtree(path)"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"class ImageExtension(base.BaseAgentExtension):"}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_19d90b23","line":176,"updated":"2015-09-08 09:13:41.000000000","message":"I think instead of code above, this place should be changed to unconditionally:\n\n try:\n   shutil.rmtree(path)\n except EnvironmentError:\n   LOG.warn(\u0027cleaning up path failed, leaving some junk behind\u0027)\n\n;)","commit_id":"d480f053a1f87cd52a4311886576c92b669e71b6"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"f3badd6fc898e9e86834ffaeeb5204da1df1a600","unresolved":false,"context_lines":[{"line_number":173,"context_line":"            else:"},{"line_number":174,"context_line":"                # After everything is umounted we can then remove the"},{"line_number":175,"context_line":"                # temporary directory"},{"line_number":176,"context_line":"                shutil.rmtree(path)"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"class ImageExtension(base.BaseAgentExtension):"}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_d2e02199","line":176,"in_reply_to":"da20952f_19d90b23","updated":"2015-09-09 05:58:29.000000000","message":"Is that safe to do on mounted directories with things inside them?\n\nIf the contents of said mounted thing will be wiped by doing this, that seems bad right?","commit_id":"d480f053a1f87cd52a4311886576c92b669e71b6"}]}
