{"action":"closed","number":208,"pull_request":{"url":"https://api.github.com/repos/mysociety/mapit/pulls/208","id":48469365,"html_url":"https://github.com/mysociety/mapit/pull/208","diff_url":"https://github.com/mysociety/mapit/pull/208.diff","patch_url":"https://github.com/mysociety/mapit/pull/208.patch","issue_url":"https://api.github.com/repos/mysociety/mapit/issues/208","number":208,"state":"closed","locked":false,"title":"Fix bug parsing KML with Unicode filename.","user":{"login":"dracos","id":154364,"avatar_url":"https://avatars.githubusercontent.com/u/154364?v=3","gravatar_id":"","url":"https://api.github.com/users/dracos","html_url":"https://github.com/dracos","followers_url":"https://api.github.com/users/dracos/followers","following_url":"https://api.github.com/users/dracos/following{/other_user}","gists_url":"https://api.github.com/users/dracos/gists{/gist_id}","starred_url":"https://api.github.com/users/dracos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dracos/subscriptions","organizations_url":"https://api.github.com/users/dracos/orgs","repos_url":"https://api.github.com/users/dracos/repos","events_url":"https://api.github.com/users/dracos/events{/privacy}","received_events_url":"https://api.github.com/users/dracos/received_events","type":"User","site_admin":false},"body":"The xml.sax module in python2 prior to 2.7.4 cannot handle a Unicode\r\nfilename (this was Python issue https://bugs.python.org/issue11159).\r\nMake sure that we pass a str to xml.sax, which should be fine in any\r\nversion of python. Fixes #206.","created_at":"2015-10-22T15:04:54Z","updated_at":"2015-10-22T15:18:41Z","closed_at":"2015-10-22T15:18:41Z","merged_at":"2015-10-22T15:18:41Z","merge_commit_sha":"0b88e24d8ec178d5dc0d5453ba41c6dadf36dcac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mysociety/mapit/pulls/208/commits","review_comments_url":"https://api.github.com/repos/mysociety/mapit/pulls/208/comments","review_comment_url":"https://api.github.com/repos/mysociety/mapit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mysociety/mapit/issues/208/comments","statuses_url":"https://api.github.com/repos/mysociety/mapit/statuses/674ccebc637fa24e7bf64d8889665df970198bb8","head":{"label":"mysociety:206-unicode-global-import-fix","ref":"206-unicode-global-import-fix","sha":"674ccebc637fa24e7bf64d8889665df970198bb8","user":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"repo":{"id":734161,"name":"mapit","full_name":"mysociety/mapit","owner":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mysociety/mapit","description":"A web service to map postcodes to administrative boundaries and more","fork":false,"url":"https://api.github.com/repos/mysociety/mapit","forks_url":"https://api.github.com/repos/mysociety/mapit/forks","keys_url":"https://api.github.com/repos/mysociety/mapit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mysociety/mapit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mysociety/mapit/teams","hooks_url":"https://api.github.com/repos/mysociety/mapit/hooks","issue_events_url":"https://api.github.com/repos/mysociety/mapit/issues/events{/number}","events_url":"https://api.github.com/repos/mysociety/mapit/events","assignees_url":"https://api.github.com/repos/mysociety/mapit/assignees{/user}","branches_url":"https://api.github.com/repos/mysociety/mapit/branches{/branch}","tags_url":"https://api.github.com/repos/mysociety/mapit/tags","blobs_url":"https://api.github.com/repos/mysociety/mapit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mysociety/mapit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mysociety/mapit/git/refs{/sha}","trees_url":"https://api.github.com/repos/mysociety/mapit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mysociety/mapit/statuses/{sha}","languages_url":"https://api.github.com/repos/mysociety/mapit/languages","stargazers_url":"https://api.github.com/repos/mysociety/mapit/stargazers","contributors_url":"https://api.github.com/repos/mysociety/mapit/contributors","subscribers_url":"https://api.github.com/repos/mysociety/mapit/subscribers","subscription_url":"https://api.github.com/repos/mysociety/mapit/subscription","commits_url":"https://api.github.com/repos/mysociety/mapit/commits{/sha}","git_commits_url":"https://api.github.com/repos/mysociety/mapit/git/commits{/sha}","comments_url":"https://api.github.com/repos/mysociety/mapit/comments{/number}","issue_comment_url":"https://api.github.com/repos/mysociety/mapit/issues/comments{/number}","contents_url":"https://api.github.com/repos/mysociety/mapit/contents/{+path}","compare_url":"https://api.github.com/repos/mysociety/mapit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mysociety/mapit/merges","archive_url":"https://api.github.com/repos/mysociety/mapit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mysociety/mapit/downloads","issues_url":"https://api.github.com/repos/mysociety/mapit/issues{/number}","pulls_url":"https://api.github.com/repos/mysociety/mapit/pulls{/number}","milestones_url":"https://api.github.com/repos/mysociety/mapit/milestones{/number}","notifications_url":"https://api.github.com/repos/mysociety/mapit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mysociety/mapit/labels{/name}","releases_url":"https://api.github.com/repos/mysociety/mapit/releases{/id}","created_at":"2010-06-22T16:36:01Z","updated_at":"2015-10-05T18:09:03Z","pushed_at":"2015-10-22T15:18:41Z","git_url":"git://github.com/mysociety/mapit.git","ssh_url":"git@github.com:mysociety/mapit.git","clone_url":"https://github.com/mysociety/mapit.git","svn_url":"https://github.com/mysociety/mapit","homepage":"","size":7284,"stargazers_count":178,"watchers_count":178,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":56,"mirror_url":null,"open_issues_count":40,"forks":56,"open_issues":40,"watchers":178,"default_branch":"master"}},"base":{"label":"mysociety:master","ref":"master","sha":"b471659b14b8912948247fa72bdbc5f65c5a6a61","user":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"repo":{"id":734161,"name":"mapit","full_name":"mysociety/mapit","owner":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mysociety/mapit","description":"A web service to map postcodes to administrative boundaries and more","fork":false,"url":"https://api.github.com/repos/mysociety/mapit","forks_url":"https://api.github.com/repos/mysociety/mapit/forks","keys_url":"https://api.github.com/repos/mysociety/mapit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mysociety/mapit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mysociety/mapit/teams","hooks_url":"https://api.github.com/repos/mysociety/mapit/hooks","issue_events_url":"https://api.github.com/repos/mysociety/mapit/issues/events{/number}","events_url":"https://api.github.com/repos/mysociety/mapit/events","assignees_url":"https://api.github.com/repos/mysociety/mapit/assignees{/user}","branches_url":"https://api.github.com/repos/mysociety/mapit/branches{/branch}","tags_url":"https://api.github.com/repos/mysociety/mapit/tags","blobs_url":"https://api.github.com/repos/mysociety/mapit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mysociety/mapit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mysociety/mapit/git/refs{/sha}","trees_url":"https://api.github.com/repos/mysociety/mapit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mysociety/mapit/statuses/{sha}","languages_url":"https://api.github.com/repos/mysociety/mapit/languages","stargazers_url":"https://api.github.com/repos/mysociety/mapit/stargazers","contributors_url":"https://api.github.com/repos/mysociety/mapit/contributors","subscribers_url":"https://api.github.com/repos/mysociety/mapit/subscribers","subscription_url":"https://api.github.com/repos/mysociety/mapit/subscription","commits_url":"https://api.github.com/repos/mysociety/mapit/commits{/sha}","git_commits_url":"https://api.github.com/repos/mysociety/mapit/git/commits{/sha}","comments_url":"https://api.github.com/repos/mysociety/mapit/comments{/number}","issue_comment_url":"https://api.github.com/repos/mysociety/mapit/issues/comments{/number}","contents_url":"https://api.github.com/repos/mysociety/mapit/contents/{+path}","compare_url":"https://api.github.com/repos/mysociety/mapit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mysociety/mapit/merges","archive_url":"https://api.github.com/repos/mysociety/mapit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mysociety/mapit/downloads","issues_url":"https://api.github.com/repos/mysociety/mapit/issues{/number}","pulls_url":"https://api.github.com/repos/mysociety/mapit/pulls{/number}","milestones_url":"https://api.github.com/repos/mysociety/mapit/milestones{/number}","notifications_url":"https://api.github.com/repos/mysociety/mapit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mysociety/mapit/labels{/name}","releases_url":"https://api.github.com/repos/mysociety/mapit/releases{/id}","created_at":"2010-06-22T16:36:01Z","updated_at":"2015-10-05T18:09:03Z","pushed_at":"2015-10-22T15:18:41Z","git_url":"git://github.com/mysociety/mapit.git","ssh_url":"git@github.com:mysociety/mapit.git","clone_url":"https://github.com/mysociety/mapit.git","svn_url":"https://github.com/mysociety/mapit","homepage":"","size":7284,"stargazers_count":178,"watchers_count":178,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":56,"mirror_url":null,"open_issues_count":40,"forks":56,"open_issues":40,"watchers":178,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mysociety/mapit/pulls/208"},"html":{"href":"https://github.com/mysociety/mapit/pull/208"},"issue":{"href":"https://api.github.com/repos/mysociety/mapit/issues/208"},"comments":{"href":"https://api.github.com/repos/mysociety/mapit/issues/208/comments"},"review_comments":{"href":"https://api.github.com/repos/mysociety/mapit/pulls/208/comments"},"review_comment":{"href":"https://api.github.com/repos/mysociety/mapit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mysociety/mapit/pulls/208/commits"},"statuses":{"href":"https://api.github.com/repos/mysociety/mapit/statuses/674ccebc637fa24e7bf64d8889665df970198bb8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dracos","id":154364,"avatar_url":"https://avatars.githubusercontent.com/u/154364?v=3","gravatar_id":"","url":"https://api.github.com/users/dracos","html_url":"https://github.com/dracos","followers_url":"https://api.github.com/users/dracos/followers","following_url":"https://api.github.com/users/dracos/following{/other_user}","gists_url":"https://api.github.com/users/dracos/gists{/gist_id}","starred_url":"https://api.github.com/users/dracos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dracos/subscriptions","organizations_url":"https://api.github.com/users/dracos/orgs","repos_url":"https://api.github.com/users/dracos/repos","events_url":"https://api.github.com/users/dracos/events{/privacy}","received_events_url":"https://api.github.com/users/dracos/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}