{"action":"created","comment":{"url":"https://api.github.com/repos/zulip/zulip/pulls/comments/141510038","pull_request_review_id":65734187,"id":141510038,"diff_hunk":"@@ -12,7 +11,7 @@ def alert_words_in_realm(realm):\n     users_query = UserProfile.objects.filter(realm=realm, is_active=True)\n     alert_word_data = users_query.filter(~Q(alert_words=ujson.dumps([]))).values('id', 'alert_words')\n     all_user_words = dict((elt['id'], ujson.loads(elt['alert_words'])) for elt in alert_word_data)\n-    user_ids_with_words = dict((user_id, w) for (user_id, w) in six.iteritems(all_user_words) if len(w))\n+    user_ids_with_words = dict((user_id, w) for (user_id, w) in all_user_words.items() if len(w))","path":"zerver/lib/alert_words.py","position":13,"original_position":13,"commit_id":"32d2a5e940cd00b29888938f78acc52bdc9c5f2c","original_commit_id":"32d2a5e940cd00b29888938f78acc52bdc9c5f2c","user":{"login":"rht","id":395821,"avatar_url":"https://avatars3.githubusercontent.com/u/395821?v=4","gravatar_id":"","url":"https://api.github.com/users/rht","html_url":"https://github.com/rht","followers_url":"https://api.github.com/users/rht/followers","following_url":"https://api.github.com/users/rht/following{/other_user}","gists_url":"https://api.github.com/users/rht/gists{/gist_id}","starred_url":"https://api.github.com/users/rht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rht/subscriptions","organizations_url":"https://api.github.com/users/rht/orgs","repos_url":"https://api.github.com/users/rht/repos","events_url":"https://api.github.com/users/rht/events{/privacy}","received_events_url":"https://api.github.com/users/rht/received_events","type":"User","site_admin":false},"body":"https://pythonhosted.org/six/#six.iteritems","created_at":"2017-09-28T01:47:48Z","updated_at":"2017-09-28T01:50:36Z","html_url":"https://github.com/zulip/zulip/pull/6708#discussion_r141510038","pull_request_url":"https://api.github.com/repos/zulip/zulip/pulls/6708","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip/pulls/comments/141510038"},"html":{"href":"https://github.com/zulip/zulip/pull/6708#discussion_r141510038"},"pull_request":{"href":"https://api.github.com/repos/zulip/zulip/pulls/6708"}}},"pull_request":{"url":"https://api.github.com/repos/zulip/zulip/pulls/6708","id":143324386,"html_url":"https://github.com/zulip/zulip/pull/6708","diff_url":"https://github.com/zulip/zulip/pull/6708.diff","patch_url":"https://github.com/zulip/zulip/pull/6708.patch","issue_url":"https://api.github.com/repos/zulip/zulip/issues/6708","number":6708,"state":"open","locked":false,"title":"cleanup: Remove `import six`.","user":{"login":"rht","id":395821,"avatar_url":"https://avatars3.githubusercontent.com/u/395821?v=4","gravatar_id":"","url":"https://api.github.com/users/rht","html_url":"https://github.com/rht","followers_url":"https://api.github.com/users/rht/followers","following_url":"https://api.github.com/users/rht/following{/other_user}","gists_url":"https://api.github.com/users/rht/gists{/gist_id}","starred_url":"https://api.github.com/users/rht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rht/subscriptions","organizations_url":"https://api.github.com/users/rht/orgs","repos_url":"https://api.github.com/users/rht/repos","events_url":"https://api.github.com/users/rht/events{/privacy}","received_events_url":"https://api.github.com/users/rht/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-09-27T08:07:59Z","updated_at":"2017-09-28T01:50:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb8746cd98988b1d058f23a9f9b80c2a0cad1bad","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/zulip/zulip/pulls/6708/commits","review_comments_url":"https://api.github.com/repos/zulip/zulip/pulls/6708/comments","review_comment_url":"https://api.github.com/repos/zulip/zulip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zulip/zulip/issues/6708/comments","statuses_url":"https://api.github.com/repos/zulip/zulip/statuses/32d2a5e940cd00b29888938f78acc52bdc9c5f2c","head":{"label":"rht:six","ref":"six","sha":"32d2a5e940cd00b29888938f78acc52bdc9c5f2c","user":{"login":"rht","id":395821,"avatar_url":"https://avatars3.githubusercontent.com/u/395821?v=4","gravatar_id":"","url":"https://api.github.com/users/rht","html_url":"https://github.com/rht","followers_url":"https://api.github.com/users/rht/followers","following_url":"https://api.github.com/users/rht/following{/other_user}","gists_url":"https://api.github.com/users/rht/gists{/gist_id}","starred_url":"https://api.github.com/users/rht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rht/subscriptions","organizations_url":"https://api.github.com/users/rht/orgs","repos_url":"https://api.github.com/users/rht/repos","events_url":"https://api.github.com/users/rht/events{/privacy}","received_events_url":"https://api.github.com/users/rht/received_events","type":"User","site_admin":false},"repo":{"id":90706581,"name":"zulip","full_name":"rht/zulip","owner":{"login":"rht","id":395821,"avatar_url":"https://avatars3.githubusercontent.com/u/395821?v=4","gravatar_id":"","url":"https://api.github.com/users/rht","html_url":"https://github.com/rht","followers_url":"https://api.github.com/users/rht/followers","following_url":"https://api.github.com/users/rht/following{/other_user}","gists_url":"https://api.github.com/users/rht/gists{/gist_id}","starred_url":"https://api.github.com/users/rht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rht/subscriptions","organizations_url":"https://api.github.com/users/rht/orgs","repos_url":"https://api.github.com/users/rht/repos","events_url":"https://api.github.com/users/rht/events{/privacy}","received_events_url":"https://api.github.com/users/rht/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rht/zulip","description":"Zulip server - powerful open source group chat","fork":true,"url":"https://api.github.com/repos/rht/zulip","forks_url":"https://api.github.com/repos/rht/zulip/forks","keys_url":"https://api.github.com/repos/rht/zulip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rht/zulip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rht/zulip/teams","hooks_url":"https://api.github.com/repos/rht/zulip/hooks","issue_events_url":"https://api.github.com/repos/rht/zulip/issues/events{/number}","events_url":"https://api.github.com/repos/rht/zulip/events","assignees_url":"https://api.github.com/repos/rht/zulip/assignees{/user}","branches_url":"https://api.github.com/repos/rht/zulip/branches{/branch}","tags_url":"https://api.github.com/repos/rht/zulip/tags","blobs_url":"https://api.github.com/repos/rht/zulip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rht/zulip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rht/zulip/git/refs{/sha}","trees_url":"https://api.github.com/repos/rht/zulip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rht/zulip/statuses/{sha}","languages_url":"https://api.github.com/repos/rht/zulip/languages","stargazers_url":"https://api.github.com/repos/rht/zulip/stargazers","contributors_url":"https://api.github.com/repos/rht/zulip/contributors","subscribers_url":"https://api.github.com/repos/rht/zulip/subscribers","subscription_url":"https://api.github.com/repos/rht/zulip/subscription","commits_url":"https://api.github.com/repos/rht/zulip/commits{/sha}","git_commits_url":"https://api.github.com/repos/rht/zulip/git/commits{/sha}","comments_url":"https://api.github.com/repos/rht/zulip/comments{/number}","issue_comment_url":"https://api.github.com/repos/rht/zulip/issues/comments{/number}","contents_url":"https://api.github.com/repos/rht/zulip/contents/{+path}","compare_url":"https://api.github.com/repos/rht/zulip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rht/zulip/merges","archive_url":"https://api.github.com/repos/rht/zulip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rht/zulip/downloads","issues_url":"https://api.github.com/repos/rht/zulip/issues{/number}","pulls_url":"https://api.github.com/repos/rht/zulip/pulls{/number}","milestones_url":"https://api.github.com/repos/rht/zulip/milestones{/number}","notifications_url":"https://api.github.com/repos/rht/zulip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rht/zulip/labels{/name}","releases_url":"https://api.github.com/repos/rht/zulip/releases{/id}","deployments_url":"https://api.github.com/repos/rht/zulip/deployments","created_at":"2017-05-09T05:39:59Z","updated_at":"2017-05-09T05:40:06Z","pushed_at":"2017-09-28T01:01:12Z","git_url":"git://github.com/rht/zulip.git","ssh_url":"git@github.com:rht/zulip.git","clone_url":"https://github.com/rht/zulip.git","svn_url":"https://github.com/rht/zulip","homepage":"","size":179045,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"zulip:master","ref":"master","sha":"de0b47fd4ebd711850ed3b3dbbd49d372241ee5b","user":{"login":"zulip","id":4921959,"avatar_url":"https://avatars2.githubusercontent.com/u/4921959?v=4","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"repo":{"id":43160685,"name":"zulip","full_name":"zulip/zulip","owner":{"login":"zulip","id":4921959,"avatar_url":"https://avatars2.githubusercontent.com/u/4921959?v=4","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zulip/zulip","description":"Zulip server - powerful open source group chat","fork":false,"url":"https://api.github.com/repos/zulip/zulip","forks_url":"https://api.github.com/repos/zulip/zulip/forks","keys_url":"https://api.github.com/repos/zulip/zulip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zulip/zulip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zulip/zulip/teams","hooks_url":"https://api.github.com/repos/zulip/zulip/hooks","issue_events_url":"https://api.github.com/repos/zulip/zulip/issues/events{/number}","events_url":"https://api.github.com/repos/zulip/zulip/events","assignees_url":"https://api.github.com/repos/zulip/zulip/assignees{/user}","branches_url":"https://api.github.com/repos/zulip/zulip/branches{/branch}","tags_url":"https://api.github.com/repos/zulip/zulip/tags","blobs_url":"https://api.github.com/repos/zulip/zulip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zulip/zulip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zulip/zulip/git/refs{/sha}","trees_url":"https://api.github.com/repos/zulip/zulip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zulip/zulip/statuses/{sha}","languages_url":"https://api.github.com/repos/zulip/zulip/languages","stargazers_url":"https://api.github.com/repos/zulip/zulip/stargazers","contributors_url":"https://api.github.com/repos/zulip/zulip/contributors","subscribers_url":"https://api.github.com/repos/zulip/zulip/subscribers","subscription_url":"https://api.github.com/repos/zulip/zulip/subscription","commits_url":"https://api.github.com/repos/zulip/zulip/commits{/sha}","git_commits_url":"https://api.github.com/repos/zulip/zulip/git/commits{/sha}","comments_url":"https://api.github.com/repos/zulip/zulip/comments{/number}","issue_comment_url":"https://api.github.com/repos/zulip/zulip/issues/comments{/number}","contents_url":"https://api.github.com/repos/zulip/zulip/contents/{+path}","compare_url":"https://api.github.com/repos/zulip/zulip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zulip/zulip/merges","archive_url":"https://api.github.com/repos/zulip/zulip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zulip/zulip/downloads","issues_url":"https://api.github.com/repos/zulip/zulip/issues{/number}","pulls_url":"https://api.github.com/repos/zulip/zulip/pulls{/number}","milestones_url":"https://api.github.com/repos/zulip/zulip/milestones{/number}","notifications_url":"https://api.github.com/repos/zulip/zulip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zulip/zulip/labels{/name}","releases_url":"https://api.github.com/repos/zulip/zulip/releases{/id}","deployments_url":"https://api.github.com/repos/zulip/zulip/deployments","created_at":"2015-09-25T16:37:25Z","updated_at":"2017-09-28T00:49:44Z","pushed_at":"2017-09-28T01:49:52Z","git_url":"git://github.com/zulip/zulip.git","ssh_url":"git@github.com:zulip/zulip.git","clone_url":"https://github.com/zulip/zulip.git","svn_url":"https://github.com/zulip/zulip","homepage":"","size":178855,"stargazers_count":5258,"watchers_count":5258,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1569,"mirror_url":null,"open_issues_count":909,"forks":1569,"open_issues":909,"watchers":5258,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip/pulls/6708"},"html":{"href":"https://github.com/zulip/zulip/pull/6708"},"issue":{"href":"https://api.github.com/repos/zulip/zulip/issues/6708"},"comments":{"href":"https://api.github.com/repos/zulip/zulip/issues/6708/comments"},"review_comments":{"href":"https://api.github.com/repos/zulip/zulip/pulls/6708/comments"},"review_comment":{"href":"https://api.github.com/repos/zulip/zulip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zulip/zulip/pulls/6708/commits"},"statuses":{"href":"https://api.github.com/repos/zulip/zulip/statuses/32d2a5e940cd00b29888938f78acc52bdc9c5f2c"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"rht"}}