{"action":"created","comment":{"url":"https://api.github.com/repos/cm-iwata/sam-app-python36/pulls/comments/208070237","pull_request_review_id":143807834,"id":208070237,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODA3MDIzNw==","diff_hunk":"@@ -16,6 +16,26 @@ def lambda_handler(event, context):\n \n     ip = requests.get('http://checkip.amazonaws.com/')\n \n+    try:\n+        if 1 == 1:","path":"hello_world/app.py","position":5,"original_position":5,"commit_id":"4bd0feb0a59bd1d1dba02f2e47f2f8fa870a4183","original_commit_id":"4bd0feb0a59bd1d1dba02f2e47f2f8fa870a4183","user":{"login":"cm-iwata","id":38879253,"node_id":"MDQ6VXNlcjM4ODc5MjUz","avatar_url":"https://avatars1.githubusercontent.com/u/38879253?v=4","gravatar_id":"","url":"https://api.github.com/users/cm-iwata","html_url":"https://github.com/cm-iwata","followers_url":"https://api.github.com/users/cm-iwata/followers","following_url":"https://api.github.com/users/cm-iwata/following{/other_user}","gists_url":"https://api.github.com/users/cm-iwata/gists{/gist_id}","starred_url":"https://api.github.com/users/cm-iwata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cm-iwata/subscriptions","organizations_url":"https://api.github.com/users/cm-iwata/orgs","repos_url":"https://api.github.com/users/cm-iwata/repos","events_url":"https://api.github.com/users/cm-iwata/events{/privacy}","received_events_url":"https://api.github.com/users/cm-iwata/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://sonarsource.github.io/sonar-github/severity-major.png 'Severity: MAJOR') Correct one of the identical sub-expressions on both sides of operator \"==\". [![rule](https://sonarsource.github.io/sonar-github/rule.png)](http://13.230.170.12:9000/coding_rules#rule_key=python%3AS1764)\n","created_at":"2018-08-07T00:55:06Z","updated_at":"2018-08-07T00:55:06Z","html_url":"https://github.com/cm-iwata/sam-app-python36/pull/9#discussion_r208070237","pull_request_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/pulls/9","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/cm-iwata/sam-app-python36/pulls/comments/208070237"},"html":{"href":"https://github.com/cm-iwata/sam-app-python36/pull/9#discussion_r208070237"},"pull_request":{"href":"https://api.github.com/repos/cm-iwata/sam-app-python36/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/cm-iwata/sam-app-python36/pulls/9","id":206552378,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2NTUyMzc4","html_url":"https://github.com/cm-iwata/sam-app-python36/pull/9","diff_url":"https://github.com/cm-iwata/sam-app-python36/pull/9.diff","patch_url":"https://github.com/cm-iwata/sam-app-python36/pull/9.patch","issue_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/issues/9","number":9,"state":"open","locked":false,"title":"Smell code","user":{"login":"cm-iwata","id":38879253,"node_id":"MDQ6VXNlcjM4ODc5MjUz","avatar_url":"https://avatars1.githubusercontent.com/u/38879253?v=4","gravatar_id":"","url":"https://api.github.com/users/cm-iwata","html_url":"https://github.com/cm-iwata","followers_url":"https://api.github.com/users/cm-iwata/followers","following_url":"https://api.github.com/users/cm-iwata/following{/other_user}","gists_url":"https://api.github.com/users/cm-iwata/gists{/gist_id}","starred_url":"https://api.github.com/users/cm-iwata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cm-iwata/subscriptions","organizations_url":"https://api.github.com/users/cm-iwata/orgs","repos_url":"https://api.github.com/users/cm-iwata/repos","events_url":"https://api.github.com/users/cm-iwata/events{/privacy}","received_events_url":"https://api.github.com/users/cm-iwata/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-07T00:50:37Z","updated_at":"2018-08-07T00:55:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0865418b3810b7c08527a078beb4bedd1e69b86","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/pulls/9/commits","review_comments_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/pulls/9/comments","review_comment_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/issues/9/comments","statuses_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/statuses/4bd0feb0a59bd1d1dba02f2e47f2f8fa870a4183","head":{"label":"cm-iwata:smell_code","ref":"smell_code","sha":"4bd0feb0a59bd1d1dba02f2e47f2f8fa870a4183","user":{"login":"cm-iwata","id":38879253,"node_id":"MDQ6VXNlcjM4ODc5MjUz","avatar_url":"https://avatars1.githubusercontent.com/u/38879253?v=4","gravatar_id":"","url":"https://api.github.com/users/cm-iwata","html_url":"https://github.com/cm-iwata","followers_url":"https://api.github.com/users/cm-iwata/followers","following_url":"https://api.github.com/users/cm-iwata/following{/other_user}","gists_url":"https://api.github.com/users/cm-iwata/gists{/gist_id}","starred_url":"https://api.github.com/users/cm-iwata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cm-iwata/subscriptions","organizations_url":"https://api.github.com/users/cm-iwata/orgs","repos_url":"https://api.github.com/users/cm-iwata/repos","events_url":"https://api.github.com/users/cm-iwata/events{/privacy}","received_events_url":"https://api.github.com/users/cm-iwata/received_events","type":"User","site_admin":false},"repo":{"id":143659307,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM2NTkzMDc=","name":"sam-app-python36","full_name":"cm-iwata/sam-app-python36","owner":{"login":"cm-iwata","id":38879253,"node_id":"MDQ6VXNlcjM4ODc5MjUz","avatar_url":"https://avatars1.githubusercontent.com/u/38879253?v=4","gravatar_id":"","url":"https://api.github.com/users/cm-iwata","html_url":"https://github.com/cm-iwata","followers_url":"https://api.github.com/users/cm-iwata/followers","following_url":"https://api.github.com/users/cm-iwata/following{/other_user}","gists_url":"https://api.github.com/users/cm-iwata/gists{/gist_id}","starred_url":"https://api.github.com/users/cm-iwata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cm-iwata/subscriptions","organizations_url":"https://api.github.com/users/cm-iwata/orgs","repos_url":"https://api.github.com/users/cm-iwata/repos","events_url":"https://api.github.com/users/cm-iwata/events{/privacy}","received_events_url":"https://api.github.com/users/cm-iwata/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cm-iwata/sam-app-python36","description":null,"fork":false,"url":"https://api.github.com/repos/cm-iwata/sam-app-python36","forks_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/forks","keys_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/teams","hooks_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/hooks","issue_events_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/issues/events{/number}","events_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/events","assignees_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/assignees{/user}","branches_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/branches{/branch}","tags_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/tags","blobs_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/git/refs{/sha}","trees_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/statuses/{sha}","languages_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/languages","stargazers_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/stargazers","contributors_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/contributors","subscribers_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/subscribers","subscription_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/subscription","commits_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/commits{/sha}","git_commits_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/git/commits{/sha}","comments_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/comments{/number}","issue_comment_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/issues/comments{/number}","contents_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/contents/{+path}","compare_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/merges","archive_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/downloads","issues_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/issues{/number}","pulls_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/pulls{/number}","milestones_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/milestones{/number}","notifications_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/labels{/name}","releases_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/releases{/id}","deployments_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/deployments","created_at":"2018-08-06T00:57:04Z","updated_at":"2018-08-06T04:48:22Z","pushed_at":"2018-08-07T00:50:38Z","git_url":"git://github.com/cm-iwata/sam-app-python36.git","ssh_url":"git@github.com:cm-iwata/sam-app-python36.git","clone_url":"https://github.com/cm-iwata/sam-app-python36.git","svn_url":"https://github.com/cm-iwata/sam-app-python36","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"cm-iwata:master","ref":"master","sha":"e916524eac702d3d9bcfecea902ea3f04d04eda0","user":{"login":"cm-iwata","id":38879253,"node_id":"MDQ6VXNlcjM4ODc5MjUz","avatar_url":"https://avatars1.githubusercontent.com/u/38879253?v=4","gravatar_id":"","url":"https://api.github.com/users/cm-iwata","html_url":"https://github.com/cm-iwata","followers_url":"https://api.github.com/users/cm-iwata/followers","following_url":"https://api.github.com/users/cm-iwata/following{/other_user}","gists_url":"https://api.github.com/users/cm-iwata/gists{/gist_id}","starred_url":"https://api.github.com/users/cm-iwata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cm-iwata/subscriptions","organizations_url":"https://api.github.com/users/cm-iwata/orgs","repos_url":"https://api.github.com/users/cm-iwata/repos","events_url":"https://api.github.com/users/cm-iwata/events{/privacy}","received_events_url":"https://api.github.com/users/cm-iwata/received_events","type":"User","site_admin":false},"repo":{"id":143659307,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM2NTkzMDc=","name":"sam-app-python36","full_name":"cm-iwata/sam-app-python36","owner":{"login":"cm-iwata","id":38879253,"node_id":"MDQ6VXNlcjM4ODc5MjUz","avatar_url":"https://avatars1.githubusercontent.com/u/38879253?v=4","gravatar_id":"","url":"https://api.github.com/users/cm-iwata","html_url":"https://github.com/cm-iwata","followers_url":"https://api.github.com/users/cm-iwata/followers","following_url":"https://api.github.com/users/cm-iwata/following{/other_user}","gists_url":"https://api.github.com/users/cm-iwata/gists{/gist_id}","starred_url":"https://api.github.com/users/cm-iwata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cm-iwata/subscriptions","organizations_url":"https://api.github.com/users/cm-iwata/orgs","repos_url":"https://api.github.com/users/cm-iwata/repos","events_url":"https://api.github.com/users/cm-iwata/events{/privacy}","received_events_url":"https://api.github.com/users/cm-iwata/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cm-iwata/sam-app-python36","description":null,"fork":false,"url":"https://api.github.com/repos/cm-iwata/sam-app-python36","forks_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/forks","keys_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/teams","hooks_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/hooks","issue_events_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/issues/events{/number}","events_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/events","assignees_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/assignees{/user}","branches_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/branches{/branch}","tags_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/tags","blobs_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/git/refs{/sha}","trees_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/statuses/{sha}","languages_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/languages","stargazers_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/stargazers","contributors_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/contributors","subscribers_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/subscribers","subscription_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/subscription","commits_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/commits{/sha}","git_commits_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/git/commits{/sha}","comments_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/comments{/number}","issue_comment_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/issues/comments{/number}","contents_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/contents/{+path}","compare_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/merges","archive_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/downloads","issues_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/issues{/number}","pulls_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/pulls{/number}","milestones_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/milestones{/number}","notifications_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/labels{/name}","releases_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/releases{/id}","deployments_url":"https://api.github.com/repos/cm-iwata/sam-app-python36/deployments","created_at":"2018-08-06T00:57:04Z","updated_at":"2018-08-06T04:48:22Z","pushed_at":"2018-08-07T00:50:38Z","git_url":"git://github.com/cm-iwata/sam-app-python36.git","ssh_url":"git@github.com:cm-iwata/sam-app-python36.git","clone_url":"https://github.com/cm-iwata/sam-app-python36.git","svn_url":"https://github.com/cm-iwata/sam-app-python36","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cm-iwata/sam-app-python36/pulls/9"},"html":{"href":"https://github.com/cm-iwata/sam-app-python36/pull/9"},"issue":{"href":"https://api.github.com/repos/cm-iwata/sam-app-python36/issues/9"},"comments":{"href":"https://api.github.com/repos/cm-iwata/sam-app-python36/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/cm-iwata/sam-app-python36/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/cm-iwata/sam-app-python36/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cm-iwata/sam-app-python36/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/cm-iwata/sam-app-python36/statuses/4bd0feb0a59bd1d1dba02f2e47f2f8fa870a4183"}},"author_association":"OWNER"}}
{"actor":{"display_login":"cm-iwata"}}