{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/quarnster/PlatformSettings/pulls/2","id":36974858,"html_url":"https://github.com/quarnster/PlatformSettings/pull/2","diff_url":"https://github.com/quarnster/PlatformSettings/pull/2.diff","patch_url":"https://github.com/quarnster/PlatformSettings/pull/2.patch","issue_url":"https://api.github.com/repos/quarnster/PlatformSettings/issues/2","number":2,"state":"closed","locked":false,"title":"Fix when s.get returns None instead of defaults","user":{"login":"TheQwerty","id":213205,"avatar_url":"https://avatars.githubusercontent.com/u/213205?v=3","gravatar_id":"","url":"https://api.github.com/users/TheQwerty","html_url":"https://github.com/TheQwerty","followers_url":"https://api.github.com/users/TheQwerty/followers","following_url":"https://api.github.com/users/TheQwerty/following{/other_user}","gists_url":"https://api.github.com/users/TheQwerty/gists{/gist_id}","starred_url":"https://api.github.com/users/TheQwerty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheQwerty/subscriptions","organizations_url":"https://api.github.com/users/TheQwerty/orgs","repos_url":"https://api.github.com/users/TheQwerty/repos","events_url":"https://api.github.com/users/TheQwerty/events{/privacy}","received_events_url":"https://api.github.com/users/TheQwerty/received_events","type":"User","site_admin":false},"body":"Occasionally, for whatever reason, ST3 will return `None` instead of the specified defaults when calling `view.settings().get(...)`.\r\nThis results in `TypeErrors` appearing in the console.\r\n\r\nI'm not sure this is the most appropriate fix but it prevents the errors and seems mostly harmless.","created_at":"2015-06-04T20:30:16Z","updated_at":"2015-06-05T16:41:10Z","closed_at":"2015-06-05T16:41:10Z","merged_at":"2015-06-05T16:41:10Z","merge_commit_sha":"002c2850d83480d106a8807f3b8ace9e2e30e5bd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/quarnster/PlatformSettings/pulls/2/commits","review_comments_url":"https://api.github.com/repos/quarnster/PlatformSettings/pulls/2/comments","review_comment_url":"https://api.github.com/repos/quarnster/PlatformSettings/pulls/comments{/number}","comments_url":"https://api.github.com/repos/quarnster/PlatformSettings/issues/2/comments","statuses_url":"https://api.github.com/repos/quarnster/PlatformSettings/statuses/3c525b1d896a8f5d8b20349046e38b3eabbac71a","head":{"label":"TheQwerty:patch-1","ref":"patch-1","sha":"3c525b1d896a8f5d8b20349046e38b3eabbac71a","user":{"login":"TheQwerty","id":213205,"avatar_url":"https://avatars.githubusercontent.com/u/213205?v=3","gravatar_id":"","url":"https://api.github.com/users/TheQwerty","html_url":"https://github.com/TheQwerty","followers_url":"https://api.github.com/users/TheQwerty/followers","following_url":"https://api.github.com/users/TheQwerty/following{/other_user}","gists_url":"https://api.github.com/users/TheQwerty/gists{/gist_id}","starred_url":"https://api.github.com/users/TheQwerty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheQwerty/subscriptions","organizations_url":"https://api.github.com/users/TheQwerty/orgs","repos_url":"https://api.github.com/users/TheQwerty/repos","events_url":"https://api.github.com/users/TheQwerty/events{/privacy}","received_events_url":"https://api.github.com/users/TheQwerty/received_events","type":"User","site_admin":false},"repo":{"id":36893240,"name":"PlatformSettings","full_name":"TheQwerty/PlatformSettings","owner":{"login":"TheQwerty","id":213205,"avatar_url":"https://avatars.githubusercontent.com/u/213205?v=3","gravatar_id":"","url":"https://api.github.com/users/TheQwerty","html_url":"https://github.com/TheQwerty","followers_url":"https://api.github.com/users/TheQwerty/followers","following_url":"https://api.github.com/users/TheQwerty/following{/other_user}","gists_url":"https://api.github.com/users/TheQwerty/gists{/gist_id}","starred_url":"https://api.github.com/users/TheQwerty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheQwerty/subscriptions","organizations_url":"https://api.github.com/users/TheQwerty/orgs","repos_url":"https://api.github.com/users/TheQwerty/repos","events_url":"https://api.github.com/users/TheQwerty/events{/privacy}","received_events_url":"https://api.github.com/users/TheQwerty/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheQwerty/PlatformSettings","description":"A Sublime Text 2 plugin enabling platform specific settings","fork":true,"url":"https://api.github.com/repos/TheQwerty/PlatformSettings","forks_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/forks","keys_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/teams","hooks_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/hooks","issue_events_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/issues/events{/number}","events_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/events","assignees_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/assignees{/user}","branches_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/branches{/branch}","tags_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/tags","blobs_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/statuses/{sha}","languages_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/languages","stargazers_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/stargazers","contributors_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/contributors","subscribers_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/subscribers","subscription_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/subscription","commits_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/contents/{+path}","compare_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/merges","archive_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/downloads","issues_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/issues{/number}","pulls_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/pulls{/number}","milestones_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/milestones{/number}","notifications_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/labels{/name}","releases_url":"https://api.github.com/repos/TheQwerty/PlatformSettings/releases{/id}","created_at":"2015-06-04T20:17:54Z","updated_at":"2015-06-04T20:17:54Z","pushed_at":"2015-06-04T20:29:33Z","git_url":"git://github.com/TheQwerty/PlatformSettings.git","ssh_url":"git@github.com:TheQwerty/PlatformSettings.git","clone_url":"https://github.com/TheQwerty/PlatformSettings.git","svn_url":"https://github.com/TheQwerty/PlatformSettings","homepage":null,"size":95,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"quarnster:master","ref":"master","sha":"3784f7fb6973f72221849152f80e0e4831259a9d","user":{"login":"quarnster","id":1230389,"avatar_url":"https://avatars.githubusercontent.com/u/1230389?v=3","gravatar_id":"","url":"https://api.github.com/users/quarnster","html_url":"https://github.com/quarnster","followers_url":"https://api.github.com/users/quarnster/followers","following_url":"https://api.github.com/users/quarnster/following{/other_user}","gists_url":"https://api.github.com/users/quarnster/gists{/gist_id}","starred_url":"https://api.github.com/users/quarnster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quarnster/subscriptions","organizations_url":"https://api.github.com/users/quarnster/orgs","repos_url":"https://api.github.com/users/quarnster/repos","events_url":"https://api.github.com/users/quarnster/events{/privacy}","received_events_url":"https://api.github.com/users/quarnster/received_events","type":"User","site_admin":false},"repo":{"id":6794289,"name":"PlatformSettings","full_name":"quarnster/PlatformSettings","owner":{"login":"quarnster","id":1230389,"avatar_url":"https://avatars.githubusercontent.com/u/1230389?v=3","gravatar_id":"","url":"https://api.github.com/users/quarnster","html_url":"https://github.com/quarnster","followers_url":"https://api.github.com/users/quarnster/followers","following_url":"https://api.github.com/users/quarnster/following{/other_user}","gists_url":"https://api.github.com/users/quarnster/gists{/gist_id}","starred_url":"https://api.github.com/users/quarnster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quarnster/subscriptions","organizations_url":"https://api.github.com/users/quarnster/orgs","repos_url":"https://api.github.com/users/quarnster/repos","events_url":"https://api.github.com/users/quarnster/events{/privacy}","received_events_url":"https://api.github.com/users/quarnster/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quarnster/PlatformSettings","description":"A Sublime Text 2 plugin enabling platform specific settings","fork":false,"url":"https://api.github.com/repos/quarnster/PlatformSettings","forks_url":"https://api.github.com/repos/quarnster/PlatformSettings/forks","keys_url":"https://api.github.com/repos/quarnster/PlatformSettings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quarnster/PlatformSettings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quarnster/PlatformSettings/teams","hooks_url":"https://api.github.com/repos/quarnster/PlatformSettings/hooks","issue_events_url":"https://api.github.com/repos/quarnster/PlatformSettings/issues/events{/number}","events_url":"https://api.github.com/repos/quarnster/PlatformSettings/events","assignees_url":"https://api.github.com/repos/quarnster/PlatformSettings/assignees{/user}","branches_url":"https://api.github.com/repos/quarnster/PlatformSettings/branches{/branch}","tags_url":"https://api.github.com/repos/quarnster/PlatformSettings/tags","blobs_url":"https://api.github.com/repos/quarnster/PlatformSettings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quarnster/PlatformSettings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quarnster/PlatformSettings/git/refs{/sha}","trees_url":"https://api.github.com/repos/quarnster/PlatformSettings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quarnster/PlatformSettings/statuses/{sha}","languages_url":"https://api.github.com/repos/quarnster/PlatformSettings/languages","stargazers_url":"https://api.github.com/repos/quarnster/PlatformSettings/stargazers","contributors_url":"https://api.github.com/repos/quarnster/PlatformSettings/contributors","subscribers_url":"https://api.github.com/repos/quarnster/PlatformSettings/subscribers","subscription_url":"https://api.github.com/repos/quarnster/PlatformSettings/subscription","commits_url":"https://api.github.com/repos/quarnster/PlatformSettings/commits{/sha}","git_commits_url":"https://api.github.com/repos/quarnster/PlatformSettings/git/commits{/sha}","comments_url":"https://api.github.com/repos/quarnster/PlatformSettings/comments{/number}","issue_comment_url":"https://api.github.com/repos/quarnster/PlatformSettings/issues/comments{/number}","contents_url":"https://api.github.com/repos/quarnster/PlatformSettings/contents/{+path}","compare_url":"https://api.github.com/repos/quarnster/PlatformSettings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quarnster/PlatformSettings/merges","archive_url":"https://api.github.com/repos/quarnster/PlatformSettings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quarnster/PlatformSettings/downloads","issues_url":"https://api.github.com/repos/quarnster/PlatformSettings/issues{/number}","pulls_url":"https://api.github.com/repos/quarnster/PlatformSettings/pulls{/number}","milestones_url":"https://api.github.com/repos/quarnster/PlatformSettings/milestones{/number}","notifications_url":"https://api.github.com/repos/quarnster/PlatformSettings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quarnster/PlatformSettings/labels{/name}","releases_url":"https://api.github.com/repos/quarnster/PlatformSettings/releases{/id}","created_at":"2012-11-21T11:04:31Z","updated_at":"2014-07-29T14:38:32Z","pushed_at":"2015-06-05T16:41:10Z","git_url":"git://github.com/quarnster/PlatformSettings.git","ssh_url":"git@github.com:quarnster/PlatformSettings.git","clone_url":"https://github.com/quarnster/PlatformSettings.git","svn_url":"https://github.com/quarnster/PlatformSettings","homepage":null,"size":247,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/quarnster/PlatformSettings/pulls/2"},"html":{"href":"https://github.com/quarnster/PlatformSettings/pull/2"},"issue":{"href":"https://api.github.com/repos/quarnster/PlatformSettings/issues/2"},"comments":{"href":"https://api.github.com/repos/quarnster/PlatformSettings/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/quarnster/PlatformSettings/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/quarnster/PlatformSettings/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/quarnster/PlatformSettings/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/quarnster/PlatformSettings/statuses/3c525b1d896a8f5d8b20349046e38b3eabbac71a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"quarnster","id":1230389,"avatar_url":"https://avatars.githubusercontent.com/u/1230389?v=3","gravatar_id":"","url":"https://api.github.com/users/quarnster","html_url":"https://github.com/quarnster","followers_url":"https://api.github.com/users/quarnster/followers","following_url":"https://api.github.com/users/quarnster/following{/other_user}","gists_url":"https://api.github.com/users/quarnster/gists{/gist_id}","starred_url":"https://api.github.com/users/quarnster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quarnster/subscriptions","organizations_url":"https://api.github.com/users/quarnster/orgs","repos_url":"https://api.github.com/users/quarnster/repos","events_url":"https://api.github.com/users/quarnster/events{/privacy}","received_events_url":"https://api.github.com/users/quarnster/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":2,"changed_files":1}}