{"action":"created","issue":{"url":"https://api.github.com/repos/a10networks/acos-client/issues/115","repository_url":"https://api.github.com/repos/a10networks/acos-client","labels_url":"https://api.github.com/repos/a10networks/acos-client/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/a10networks/acos-client/issues/115/comments","events_url":"https://api.github.com/repos/a10networks/acos-client/issues/115/events","html_url":"https://github.com/a10networks/acos-client/pull/115","id":145093267,"number":115,"title":"Catch error raised by already-deleted partition","user":{"login":"mdurrant-b3","id":10053740,"avatar_url":"https://avatars.githubusercontent.com/u/10053740?v=3","gravatar_id":"","url":"https://api.github.com/users/mdurrant-b3","html_url":"https://github.com/mdurrant-b3","followers_url":"https://api.github.com/users/mdurrant-b3/followers","following_url":"https://api.github.com/users/mdurrant-b3/following{/other_user}","gists_url":"https://api.github.com/users/mdurrant-b3/gists{/gist_id}","starred_url":"https://api.github.com/users/mdurrant-b3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdurrant-b3/subscriptions","organizations_url":"https://api.github.com/users/mdurrant-b3/orgs","repos_url":"https://api.github.com/users/mdurrant-b3/repos","events_url":"https://api.github.com/users/mdurrant-b3/events{/privacy}","received_events_url":"https://api.github.com/users/mdurrant-b3/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/a10networks/acos-client/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-01T05:56:44Z","updated_at":"2016-04-01T19:18:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/a10networks/acos-client/pulls/115","html_url":"https://github.com/a10networks/acos-client/pull/115","diff_url":"https://github.com/a10networks/acos-client/pull/115.diff","patch_url":"https://github.com/a10networks/acos-client/pull/115.patch"},"body":"Fixes issue caused when the last element in an LB is deleted and the associated partition is deleted with it."},"comment":{"url":"https://api.github.com/repos/a10networks/acos-client/issues/comments/204530213","html_url":"https://github.com/a10networks/acos-client/pull/115#issuecomment-204530213","issue_url":"https://api.github.com/repos/a10networks/acos-client/issues/115","id":204530213,"user":{"login":"mdurrant-b3","id":10053740,"avatar_url":"https://avatars.githubusercontent.com/u/10053740?v=3","gravatar_id":"","url":"https://api.github.com/users/mdurrant-b3","html_url":"https://github.com/mdurrant-b3","followers_url":"https://api.github.com/users/mdurrant-b3/followers","following_url":"https://api.github.com/users/mdurrant-b3/following{/other_user}","gists_url":"https://api.github.com/users/mdurrant-b3/gists{/gist_id}","starred_url":"https://api.github.com/users/mdurrant-b3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdurrant-b3/subscriptions","organizations_url":"https://api.github.com/users/mdurrant-b3/orgs","repos_url":"https://api.github.com/users/mdurrant-b3/repos","events_url":"https://api.github.com/users/mdurrant-b3/events{/privacy}","received_events_url":"https://api.github.com/users/mdurrant-b3/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T19:18:10Z","updated_at":"2016-04-01T19:18:10Z","body":"An alternative implementation for this would be:\r\nmodify partition_cleanup_check to return True/False if it deleted the partition and pass this value to the `super`'s `__exit__` function to make the \"write\" (sorry couldn't resist the pun) decision."}}