{"action":"closed","number":2522,"pull_request":{"url":"https://api.github.com/repos/dcos/dcos/pulls/2522","id":171838119,"html_url":"https://github.com/dcos/dcos/pull/2522","diff_url":"https://github.com/dcos/dcos/pull/2522.diff","patch_url":"https://github.com/dcos/dcos/pull/2522.patch","issue_url":"https://api.github.com/repos/dcos/dcos/issues/2522","number":2522,"state":"closed","locked":false,"title":"Raise Exception explicitly","user":{"login":"orsenthil","id":332330,"avatar_url":"https://avatars3.githubusercontent.com/u/332330?v=4","gravatar_id":"","url":"https://api.github.com/users/orsenthil","html_url":"https://github.com/orsenthil","followers_url":"https://api.github.com/users/orsenthil/followers","following_url":"https://api.github.com/users/orsenthil/following{/other_user}","gists_url":"https://api.github.com/users/orsenthil/gists{/gist_id}","starred_url":"https://api.github.com/users/orsenthil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orsenthil/subscriptions","organizations_url":"https://api.github.com/users/orsenthil/orgs","repos_url":"https://api.github.com/users/orsenthil/repos","events_url":"https://api.github.com/users/orsenthil/events{/privacy}","received_events_url":"https://api.github.com/users/orsenthil/received_events","type":"User","site_admin":false},"body":"## High-level description\r\n\r\nI am not sure why our flake8 didn't complain, but my IDE raised an issue about using `raise` statement without an Exception. This fixes it.","created_at":"2018-02-28T02:13:18Z","updated_at":"2018-03-02T05:36:27Z","closed_at":"2018-03-02T05:36:27Z","merged_at":"2018-03-02T05:36:27Z","merge_commit_sha":"30551ea1086809c7538ec3462f51f7b919aeef1b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":528929763,"url":"https://api.github.com/repos/dcos/dcos/labels/Ship%20It","name":"Ship It","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/dcos/dcos/pulls/2522/commits","review_comments_url":"https://api.github.com/repos/dcos/dcos/pulls/2522/comments","review_comment_url":"https://api.github.com/repos/dcos/dcos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dcos/dcos/issues/2522/comments","statuses_url":"https://api.github.com/repos/dcos/dcos/statuses/30551ea1086809c7538ec3462f51f7b919aeef1b","head":{"label":"orsenthil:fix_test_code","ref":"fix_test_code","sha":"30551ea1086809c7538ec3462f51f7b919aeef1b","user":{"login":"orsenthil","id":332330,"avatar_url":"https://avatars3.githubusercontent.com/u/332330?v=4","gravatar_id":"","url":"https://api.github.com/users/orsenthil","html_url":"https://github.com/orsenthil","followers_url":"https://api.github.com/users/orsenthil/followers","following_url":"https://api.github.com/users/orsenthil/following{/other_user}","gists_url":"https://api.github.com/users/orsenthil/gists{/gist_id}","starred_url":"https://api.github.com/users/orsenthil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orsenthil/subscriptions","organizations_url":"https://api.github.com/users/orsenthil/orgs","repos_url":"https://api.github.com/users/orsenthil/repos","events_url":"https://api.github.com/users/orsenthil/events{/privacy}","received_events_url":"https://api.github.com/users/orsenthil/received_events","type":"User","site_admin":false},"repo":{"id":86511930,"name":"dcos","full_name":"orsenthil/dcos","owner":{"login":"orsenthil","id":332330,"avatar_url":"https://avatars3.githubusercontent.com/u/332330?v=4","gravatar_id":"","url":"https://api.github.com/users/orsenthil","html_url":"https://github.com/orsenthil","followers_url":"https://api.github.com/users/orsenthil/followers","following_url":"https://api.github.com/users/orsenthil/following{/other_user}","gists_url":"https://api.github.com/users/orsenthil/gists{/gist_id}","starred_url":"https://api.github.com/users/orsenthil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orsenthil/subscriptions","organizations_url":"https://api.github.com/users/orsenthil/orgs","repos_url":"https://api.github.com/users/orsenthil/repos","events_url":"https://api.github.com/users/orsenthil/events{/privacy}","received_events_url":"https://api.github.com/users/orsenthil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/orsenthil/dcos","description":"DC/OS Build and Release tools","fork":true,"url":"https://api.github.com/repos/orsenthil/dcos","forks_url":"https://api.github.com/repos/orsenthil/dcos/forks","keys_url":"https://api.github.com/repos/orsenthil/dcos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orsenthil/dcos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orsenthil/dcos/teams","hooks_url":"https://api.github.com/repos/orsenthil/dcos/hooks","issue_events_url":"https://api.github.com/repos/orsenthil/dcos/issues/events{/number}","events_url":"https://api.github.com/repos/orsenthil/dcos/events","assignees_url":"https://api.github.com/repos/orsenthil/dcos/assignees{/user}","branches_url":"https://api.github.com/repos/orsenthil/dcos/branches{/branch}","tags_url":"https://api.github.com/repos/orsenthil/dcos/tags","blobs_url":"https://api.github.com/repos/orsenthil/dcos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orsenthil/dcos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orsenthil/dcos/git/refs{/sha}","trees_url":"https://api.github.com/repos/orsenthil/dcos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orsenthil/dcos/statuses/{sha}","languages_url":"https://api.github.com/repos/orsenthil/dcos/languages","stargazers_url":"https://api.github.com/repos/orsenthil/dcos/stargazers","contributors_url":"https://api.github.com/repos/orsenthil/dcos/contributors","subscribers_url":"https://api.github.com/repos/orsenthil/dcos/subscribers","subscription_url":"https://api.github.com/repos/orsenthil/dcos/subscription","commits_url":"https://api.github.com/repos/orsenthil/dcos/commits{/sha}","git_commits_url":"https://api.github.com/repos/orsenthil/dcos/git/commits{/sha}","comments_url":"https://api.github.com/repos/orsenthil/dcos/comments{/number}","issue_comment_url":"https://api.github.com/repos/orsenthil/dcos/issues/comments{/number}","contents_url":"https://api.github.com/repos/orsenthil/dcos/contents/{+path}","compare_url":"https://api.github.com/repos/orsenthil/dcos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orsenthil/dcos/merges","archive_url":"https://api.github.com/repos/orsenthil/dcos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orsenthil/dcos/downloads","issues_url":"https://api.github.com/repos/orsenthil/dcos/issues{/number}","pulls_url":"https://api.github.com/repos/orsenthil/dcos/pulls{/number}","milestones_url":"https://api.github.com/repos/orsenthil/dcos/milestones{/number}","notifications_url":"https://api.github.com/repos/orsenthil/dcos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orsenthil/dcos/labels{/name}","releases_url":"https://api.github.com/repos/orsenthil/dcos/releases{/id}","deployments_url":"https://api.github.com/repos/orsenthil/dcos/deployments","created_at":"2017-03-28T22:10:36Z","updated_at":"2017-03-28T22:10:39Z","pushed_at":"2018-03-02T00:11:27Z","git_url":"git://github.com/orsenthil/dcos.git","ssh_url":"git@github.com:orsenthil/dcos.git","clone_url":"https://github.com/orsenthil/dcos.git","svn_url":"https://github.com/orsenthil/dcos","homepage":"https://dcos.io","size":5711,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dcos:master","ref":"master","sha":"62901d36ca748e5a322170739e7c8c5a352e247f","user":{"login":"dcos","id":17648048,"avatar_url":"https://avatars1.githubusercontent.com/u/17648048?v=4","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"repo":{"id":56184050,"name":"dcos","full_name":"dcos/dcos","owner":{"login":"dcos","id":17648048,"avatar_url":"https://avatars1.githubusercontent.com/u/17648048?v=4","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dcos/dcos","description":"DC/OS - The Datacenter Operating System ","fork":false,"url":"https://api.github.com/repos/dcos/dcos","forks_url":"https://api.github.com/repos/dcos/dcos/forks","keys_url":"https://api.github.com/repos/dcos/dcos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcos/dcos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcos/dcos/teams","hooks_url":"https://api.github.com/repos/dcos/dcos/hooks","issue_events_url":"https://api.github.com/repos/dcos/dcos/issues/events{/number}","events_url":"https://api.github.com/repos/dcos/dcos/events","assignees_url":"https://api.github.com/repos/dcos/dcos/assignees{/user}","branches_url":"https://api.github.com/repos/dcos/dcos/branches{/branch}","tags_url":"https://api.github.com/repos/dcos/dcos/tags","blobs_url":"https://api.github.com/repos/dcos/dcos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcos/dcos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcos/dcos/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcos/dcos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcos/dcos/statuses/{sha}","languages_url":"https://api.github.com/repos/dcos/dcos/languages","stargazers_url":"https://api.github.com/repos/dcos/dcos/stargazers","contributors_url":"https://api.github.com/repos/dcos/dcos/contributors","subscribers_url":"https://api.github.com/repos/dcos/dcos/subscribers","subscription_url":"https://api.github.com/repos/dcos/dcos/subscription","commits_url":"https://api.github.com/repos/dcos/dcos/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcos/dcos/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcos/dcos/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcos/dcos/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcos/dcos/contents/{+path}","compare_url":"https://api.github.com/repos/dcos/dcos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcos/dcos/merges","archive_url":"https://api.github.com/repos/dcos/dcos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcos/dcos/downloads","issues_url":"https://api.github.com/repos/dcos/dcos/issues{/number}","pulls_url":"https://api.github.com/repos/dcos/dcos/pulls{/number}","milestones_url":"https://api.github.com/repos/dcos/dcos/milestones{/number}","notifications_url":"https://api.github.com/repos/dcos/dcos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcos/dcos/labels{/name}","releases_url":"https://api.github.com/repos/dcos/dcos/releases{/id}","deployments_url":"https://api.github.com/repos/dcos/dcos/deployments","created_at":"2016-04-13T20:31:58Z","updated_at":"2018-03-01T15:56:09Z","pushed_at":"2018-03-02T05:36:08Z","git_url":"git://github.com/dcos/dcos.git","ssh_url":"git@github.com:dcos/dcos.git","clone_url":"https://github.com/dcos/dcos.git","svn_url":"https://github.com/dcos/dcos","homepage":"https://dcos.io","size":5745,"stargazers_count":1906,"watchers_count":1906,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":378,"mirror_url":null,"archived":false,"open_issues_count":111,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":378,"open_issues":111,"watchers":1906,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dcos/dcos/pulls/2522"},"html":{"href":"https://github.com/dcos/dcos/pull/2522"},"issue":{"href":"https://api.github.com/repos/dcos/dcos/issues/2522"},"comments":{"href":"https://api.github.com/repos/dcos/dcos/issues/2522/comments"},"review_comments":{"href":"https://api.github.com/repos/dcos/dcos/pulls/2522/comments"},"review_comment":{"href":"https://api.github.com/repos/dcos/dcos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dcos/dcos/pulls/2522/commits"},"statuses":{"href":"https://api.github.com/repos/dcos/dcos/statuses/30551ea1086809c7538ec3462f51f7b919aeef1b"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mesosphere-mergebot","id":22822961,"avatar_url":"https://avatars3.githubusercontent.com/u/22822961?v=4","gravatar_id":"","url":"https://api.github.com/users/mesosphere-mergebot","html_url":"https://github.com/mesosphere-mergebot","followers_url":"https://api.github.com/users/mesosphere-mergebot/followers","following_url":"https://api.github.com/users/mesosphere-mergebot/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere-mergebot/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere-mergebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere-mergebot/subscriptions","organizations_url":"https://api.github.com/users/mesosphere-mergebot/orgs","repos_url":"https://api.github.com/users/mesosphere-mergebot/repos","events_url":"https://api.github.com/users/mesosphere-mergebot/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere-mergebot/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"mesosphere-mergebot"}}