)]}'
{"neutron/agent/linux/daemon.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"598b0e40043c69638cd2cb993b699d77149f10e4","unresolved":false,"context_lines":[{"line_number":124,"context_line":"        try:"},{"line_number":125,"context_line":"            fcntl.flock(self.fd, fcntl.LOCK_UN)"},{"line_number":126,"context_line":"        except IOError:"},{"line_number":127,"context_line":"            raise IOError(_(\u0027Unable to unlock pid file\u0027))"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"    def write(self, pid):"},{"line_number":130,"context_line":"        os.ftruncate(self.fd, 0)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_9def901c","line":127,"updated":"2015-07-08 17:59:18.000000000","message":"is there much point to catch the exception?","commit_id":"44878659e750c3fa973db9adf5441e694ebaebd4"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"7a9f1fab2a8b6b6d5231819de63a0a42cd3146e0","unresolved":false,"context_lines":[{"line_number":124,"context_line":"        try:"},{"line_number":125,"context_line":"            fcntl.flock(self.fd, fcntl.LOCK_UN)"},{"line_number":126,"context_line":"        except IOError:"},{"line_number":127,"context_line":"            raise IOError(_(\u0027Unable to unlock pid file\u0027))"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"    def write(self, pid):"},{"line_number":130,"context_line":"        os.ftruncate(self.fd, 0)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_ab30fd56","line":127,"in_reply_to":"ba3cc151_9def901c","updated":"2015-07-09 00:37:10.000000000","message":"+1, I think just pull the catch off of there. The traceback will be self explanatory because \"unlock\" will be the function name and they will actually get a useful error to troubleshoot.","commit_id":"44878659e750c3fa973db9adf5441e694ebaebd4"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"e2b0949046f8656486107092911e259a35c837ed","unresolved":false,"context_lines":[{"line_number":124,"context_line":"        try:"},{"line_number":125,"context_line":"            fcntl.flock(self.fd, fcntl.LOCK_UN)"},{"line_number":126,"context_line":"        except IOError:"},{"line_number":127,"context_line":"            raise IOError(_(\u0027Unable to unlock pid file\u0027))"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"    def write(self, pid):"},{"line_number":130,"context_line":"        os.ftruncate(self.fd, 0)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_b914c89f","line":127,"in_reply_to":"ba3cc151_ab30fd56","updated":"2015-07-09 07:56:05.000000000","message":"Done, i wasn\u0027t sure which approach we should follow","commit_id":"44878659e750c3fa973db9adf5441e694ebaebd4"}]}
