{"action":"created","issue":{"url":"https://api.github.com/repos/python-pillow/Pillow/issues/2525","repository_url":"https://api.github.com/repos/python-pillow/Pillow","labels_url":"https://api.github.com/repos/python-pillow/Pillow/issues/2525/labels{/name}","comments_url":"https://api.github.com/repos/python-pillow/Pillow/issues/2525/comments","events_url":"https://api.github.com/repos/python-pillow/Pillow/issues/2525/events","html_url":"https://github.com/python-pillow/Pillow/pull/2525","id":228425861,"number":2525,"title":"Update ImageFile.py","user":{"login":"joshblum","id":1144020,"avatar_url":"https://avatars3.githubusercontent.com/u/1144020?v=3","gravatar_id":"","url":"https://api.github.com/users/joshblum","html_url":"https://github.com/joshblum","followers_url":"https://api.github.com/users/joshblum/followers","following_url":"https://api.github.com/users/joshblum/following{/other_user}","gists_url":"https://api.github.com/users/joshblum/gists{/gist_id}","starred_url":"https://api.github.com/users/joshblum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshblum/subscriptions","organizations_url":"https://api.github.com/users/joshblum/orgs","repos_url":"https://api.github.com/users/joshblum/repos","events_url":"https://api.github.com/users/joshblum/events{/privacy}","received_events_url":"https://api.github.com/users/joshblum/received_events","type":"User","site_admin":false},"labels":[{"id":100983936,"url":"https://api.github.com/repos/python-pillow/Pillow/labels/Needs%20Tests","name":"Needs Tests","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-05-12T22:50:58Z","updated_at":"2017-05-17T14:12:14Z","closed_at":"2017-05-17T14:12:06Z","pull_request":{"url":"https://api.github.com/repos/python-pillow/Pillow/pulls/2525","html_url":"https://github.com/python-pillow/Pillow/pull/2525","diff_url":"https://github.com/python-pillow/Pillow/pull/2525.diff","patch_url":"https://github.com/python-pillow/Pillow/pull/2525.patch"},"body":"Changes proposed in this pull request:\r\n\r\n * Fixes UnboundLocalError in ImageFile.py\r\n\r\n```\r\nTraceback (most recent call last):\r\n  [...]\r\n  File \"/usr/local/lib/python3.5/dist-packages/PIL/ImageFile.py\", line 387, in feed\r\n    fp.close()  # explicitly close the virtual file\r\nUnboundLocalError: local variable 'fp' referenced before assignment\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/python-pillow/Pillow/issues/comments/302102682","html_url":"https://github.com/python-pillow/Pillow/pull/2525#issuecomment-302102682","issue_url":"https://api.github.com/repos/python-pillow/Pillow/issues/2525","id":302102682,"user":{"login":"hugovk","id":1324225,"avatar_url":"https://avatars1.githubusercontent.com/u/1324225?v=3","gravatar_id":"","url":"https://api.github.com/users/hugovk","html_url":"https://github.com/hugovk","followers_url":"https://api.github.com/users/hugovk/followers","following_url":"https://api.github.com/users/hugovk/following{/other_user}","gists_url":"https://api.github.com/users/hugovk/gists{/gist_id}","starred_url":"https://api.github.com/users/hugovk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugovk/subscriptions","organizations_url":"https://api.github.com/users/hugovk/orgs","repos_url":"https://api.github.com/users/hugovk/repos","events_url":"https://api.github.com/users/hugovk/events{/privacy}","received_events_url":"https://api.github.com/users/hugovk/received_events","type":"User","site_admin":false},"created_at":"2017-05-17T14:12:14Z","updated_at":"2017-05-17T14:12:14Z","body":"@joshblum Merged, thanks!"}}
{"actor":{"display_login":"hugovk"}}