{"action":"created","comment":{"url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/pulls/comments/41241953","id":41241953,"diff_hunk":"@@ -230,9 +230,9 @@ def _manual_content_below(self, current_area):\n         seen = set()\n         below = False\n         for area in self._cached_areas.values():\n+            if area == current_area:\n+                below = True\n             if not below:\n-                if area == current_area:\n-                    below = True","path":"src/zeit/content/cp/centerpage.py","position":8,"original_position":8,"commit_id":"76faef0c712a87ce600a6dccb5b46beeee834b0b","original_commit_id":"76faef0c712a87ce600a6dccb5b46beeee834b0b","user":{"login":"florianpilz","id":518288,"avatar_url":"https://avatars.githubusercontent.com/u/518288?v=3","gravatar_id":"","url":"https://api.github.com/users/florianpilz","html_url":"https://github.com/florianpilz","followers_url":"https://api.github.com/users/florianpilz/followers","following_url":"https://api.github.com/users/florianpilz/following{/other_user}","gists_url":"https://api.github.com/users/florianpilz/gists{/gist_id}","starred_url":"https://api.github.com/users/florianpilz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florianpilz/subscriptions","organizations_url":"https://api.github.com/users/florianpilz/orgs","repos_url":"https://api.github.com/users/florianpilz/repos","events_url":"https://api.github.com/users/florianpilz/events{/privacy}","received_events_url":"https://api.github.com/users/florianpilz/received_events","type":"User","site_admin":false},"body":":+1: ","created_at":"2015-10-06T09:16:27Z","updated_at":"2015-10-06T09:16:27Z","html_url":"https://github.com/ZeitOnline/zeit.content.cp/pull/5#discussion_r41241953","pull_request_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/pulls/comments/41241953"},"html":{"href":"https://github.com/ZeitOnline/zeit.content.cp/pull/5#discussion_r41241953"},"pull_request":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/pulls/5","id":46781997,"html_url":"https://github.com/ZeitOnline/zeit.content.cp/pull/5","diff_url":"https://github.com/ZeitOnline/zeit.content.cp/pull/5.diff","patch_url":"https://github.com/ZeitOnline/zeit.content.cp/pull/5.patch","issue_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/issues/5","number":5,"state":"open","locked":false,"title":"Re DEV-934: Add action to materialize an automatic block","user":{"login":"wosc","id":577891,"avatar_url":"https://avatars.githubusercontent.com/u/577891?v=3","gravatar_id":"","url":"https://api.github.com/users/wosc","html_url":"https://github.com/wosc","followers_url":"https://api.github.com/users/wosc/followers","following_url":"https://api.github.com/users/wosc/following{/other_user}","gists_url":"https://api.github.com/users/wosc/gists{/gist_id}","starred_url":"https://api.github.com/users/wosc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wosc/subscriptions","organizations_url":"https://api.github.com/users/wosc/orgs","repos_url":"https://api.github.com/users/wosc/repos","events_url":"https://api.github.com/users/wosc/events{/privacy}","received_events_url":"https://api.github.com/users/wosc/received_events","type":"User","site_admin":false},"body":"This includes\n* Introducing IAutomaticTeaserBlock.materialize() and adding a view for it\n* Splitting IAutomaticTeaserBlock interface in read/write to get\n  proper security declarations\n* Changing is_teaser_manual_below to include the current area\n  (otherwise pinning an automatic block always produces a duplicate)","created_at":"2015-10-05T13:43:56Z","updated_at":"2015-10-06T09:16:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ad21ccacdc504d7e21cbc053a062d8459f1717f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/pulls/5/commits","review_comments_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/pulls/5/comments","review_comment_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/issues/5/comments","statuses_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/statuses/76faef0c712a87ce600a6dccb5b46beeee834b0b","head":{"label":"ZeitOnline:DEV-934-pin-auto-blocks","ref":"DEV-934-pin-auto-blocks","sha":"76faef0c712a87ce600a6dccb5b46beeee834b0b","user":{"login":"ZeitOnline","id":51420,"avatar_url":"https://avatars.githubusercontent.com/u/51420?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeitOnline","html_url":"https://github.com/ZeitOnline","followers_url":"https://api.github.com/users/ZeitOnline/followers","following_url":"https://api.github.com/users/ZeitOnline/following{/other_user}","gists_url":"https://api.github.com/users/ZeitOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeitOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeitOnline/subscriptions","organizations_url":"https://api.github.com/users/ZeitOnline/orgs","repos_url":"https://api.github.com/users/ZeitOnline/repos","events_url":"https://api.github.com/users/ZeitOnline/events{/privacy}","received_events_url":"https://api.github.com/users/ZeitOnline/received_events","type":"Organization","site_admin":false},"repo":{"id":28969122,"name":"zeit.content.cp","full_name":"ZeitOnline/zeit.content.cp","owner":{"login":"ZeitOnline","id":51420,"avatar_url":"https://avatars.githubusercontent.com/u/51420?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeitOnline","html_url":"https://github.com/ZeitOnline","followers_url":"https://api.github.com/users/ZeitOnline/followers","following_url":"https://api.github.com/users/ZeitOnline/following{/other_user}","gists_url":"https://api.github.com/users/ZeitOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeitOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeitOnline/subscriptions","organizations_url":"https://api.github.com/users/ZeitOnline/orgs","repos_url":"https://api.github.com/users/ZeitOnline/repos","events_url":"https://api.github.com/users/ZeitOnline/events{/privacy}","received_events_url":"https://api.github.com/users/ZeitOnline/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ZeitOnline/zeit.content.cp","description":"","fork":false,"url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp","forks_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/forks","keys_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/teams","hooks_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/hooks","issue_events_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/issues/events{/number}","events_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/events","assignees_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/assignees{/user}","branches_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/branches{/branch}","tags_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/tags","blobs_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/statuses/{sha}","languages_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/languages","stargazers_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/stargazers","contributors_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/contributors","subscribers_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/subscribers","subscription_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/subscription","commits_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/contents/{+path}","compare_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/merges","archive_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/downloads","issues_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/issues{/number}","pulls_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/pulls{/number}","milestones_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/milestones{/number}","notifications_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/labels{/name}","releases_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/releases{/id}","created_at":"2015-01-08T14:19:04Z","updated_at":"2015-05-04T13:56:37Z","pushed_at":"2015-10-05T13:43:57Z","git_url":"git://github.com/ZeitOnline/zeit.content.cp.git","ssh_url":"git@github.com:ZeitOnline/zeit.content.cp.git","clone_url":"https://github.com/ZeitOnline/zeit.content.cp.git","svn_url":"https://github.com/ZeitOnline/zeit.content.cp","homepage":null,"size":8020,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ZeitOnline:master","ref":"master","sha":"89c62648e46133c7158405aa59f4d05dac1de885","user":{"login":"ZeitOnline","id":51420,"avatar_url":"https://avatars.githubusercontent.com/u/51420?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeitOnline","html_url":"https://github.com/ZeitOnline","followers_url":"https://api.github.com/users/ZeitOnline/followers","following_url":"https://api.github.com/users/ZeitOnline/following{/other_user}","gists_url":"https://api.github.com/users/ZeitOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeitOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeitOnline/subscriptions","organizations_url":"https://api.github.com/users/ZeitOnline/orgs","repos_url":"https://api.github.com/users/ZeitOnline/repos","events_url":"https://api.github.com/users/ZeitOnline/events{/privacy}","received_events_url":"https://api.github.com/users/ZeitOnline/received_events","type":"Organization","site_admin":false},"repo":{"id":28969122,"name":"zeit.content.cp","full_name":"ZeitOnline/zeit.content.cp","owner":{"login":"ZeitOnline","id":51420,"avatar_url":"https://avatars.githubusercontent.com/u/51420?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeitOnline","html_url":"https://github.com/ZeitOnline","followers_url":"https://api.github.com/users/ZeitOnline/followers","following_url":"https://api.github.com/users/ZeitOnline/following{/other_user}","gists_url":"https://api.github.com/users/ZeitOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeitOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeitOnline/subscriptions","organizations_url":"https://api.github.com/users/ZeitOnline/orgs","repos_url":"https://api.github.com/users/ZeitOnline/repos","events_url":"https://api.github.com/users/ZeitOnline/events{/privacy}","received_events_url":"https://api.github.com/users/ZeitOnline/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ZeitOnline/zeit.content.cp","description":"","fork":false,"url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp","forks_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/forks","keys_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/teams","hooks_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/hooks","issue_events_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/issues/events{/number}","events_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/events","assignees_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/assignees{/user}","branches_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/branches{/branch}","tags_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/tags","blobs_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/statuses/{sha}","languages_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/languages","stargazers_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/stargazers","contributors_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/contributors","subscribers_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/subscribers","subscription_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/subscription","commits_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/contents/{+path}","compare_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/merges","archive_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/downloads","issues_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/issues{/number}","pulls_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/pulls{/number}","milestones_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/milestones{/number}","notifications_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/labels{/name}","releases_url":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/releases{/id}","created_at":"2015-01-08T14:19:04Z","updated_at":"2015-05-04T13:56:37Z","pushed_at":"2015-10-05T13:43:57Z","git_url":"git://github.com/ZeitOnline/zeit.content.cp.git","ssh_url":"git@github.com:ZeitOnline/zeit.content.cp.git","clone_url":"https://github.com/ZeitOnline/zeit.content.cp.git","svn_url":"https://github.com/ZeitOnline/zeit.content.cp","homepage":null,"size":8020,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/pulls/5"},"html":{"href":"https://github.com/ZeitOnline/zeit.content.cp/pull/5"},"issue":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/issues/5"},"comments":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/ZeitOnline/zeit.content.cp/statuses/76faef0c712a87ce600a6dccb5b46beeee834b0b"}}}}