{"action":"opened","number":51,"pull_request":{"url":"https://api.github.com/repos/odoo/odoo-extra/pulls/51","id":27887102,"html_url":"https://github.com/odoo/odoo-extra/pull/51","diff_url":"https://github.com/odoo/odoo-extra/pull/51.diff","patch_url":"https://github.com/odoo/odoo-extra/pull/51.patch","issue_url":"https://api.github.com/repos/odoo/odoo-extra/issues/51","number":51,"state":"open","locked":false,"title":"Prevent possible KeyErrors","user":{"login":"bwrsandman","id":1013356,"avatar_url":"https://avatars.githubusercontent.com/u/1013356?v=3","gravatar_id":"","url":"https://api.github.com/users/bwrsandman","html_url":"https://github.com/bwrsandman","followers_url":"https://api.github.com/users/bwrsandman/followers","following_url":"https://api.github.com/users/bwrsandman/following{/other_user}","gists_url":"https://api.github.com/users/bwrsandman/gists{/gist_id}","starred_url":"https://api.github.com/users/bwrsandman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwrsandman/subscriptions","organizations_url":"https://api.github.com/users/bwrsandman/orgs","repos_url":"https://api.github.com/users/bwrsandman/repos","events_url":"https://api.github.com/users/bwrsandman/events{/privacy}","received_events_url":"https://api.github.com/users/bwrsandman/received_events","type":"User","site_admin":false},"body":"There are cases where `build_by_branch_ids[branch.id]` raises a `KeyError`, this avoids it.","created_at":"2015-01-22T23:07:25Z","updated_at":"2015-01-22T23:07:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/odoo/odoo-extra/pulls/51/commits","review_comments_url":"https://api.github.com/repos/odoo/odoo-extra/pulls/51/comments","review_comment_url":"https://api.github.com/repos/odoo/odoo-extra/pulls/comments/{number}","comments_url":"https://api.github.com/repos/odoo/odoo-extra/issues/51/comments","statuses_url":"https://api.github.com/repos/odoo/odoo-extra/statuses/89f6b7a6272b3170cf2c0e670d56e13098e12f5a","head":{"label":"savoirfairelinux:KeyError","ref":"KeyError","sha":"89f6b7a6272b3170cf2c0e670d56e13098e12f5a","user":{"login":"savoirfairelinux","id":2735545,"avatar_url":"https://avatars.githubusercontent.com/u/2735545?v=3","gravatar_id":"","url":"https://api.github.com/users/savoirfairelinux","html_url":"https://github.com/savoirfairelinux","followers_url":"https://api.github.com/users/savoirfairelinux/followers","following_url":"https://api.github.com/users/savoirfairelinux/following{/other_user}","gists_url":"https://api.github.com/users/savoirfairelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/savoirfairelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savoirfairelinux/subscriptions","organizations_url":"https://api.github.com/users/savoirfairelinux/orgs","repos_url":"https://api.github.com/users/savoirfairelinux/repos","events_url":"https://api.github.com/users/savoirfairelinux/events{/privacy}","received_events_url":"https://api.github.com/users/savoirfairelinux/received_events","type":"Organization","site_admin":false},"repo":{"id":22266012,"name":"odoo-extra","full_name":"savoirfairelinux/odoo-extra","owner":{"login":"savoirfairelinux","id":2735545,"avatar_url":"https://avatars.githubusercontent.com/u/2735545?v=3","gravatar_id":"","url":"https://api.github.com/users/savoirfairelinux","html_url":"https://github.com/savoirfairelinux","followers_url":"https://api.github.com/users/savoirfairelinux/followers","following_url":"https://api.github.com/users/savoirfairelinux/following{/other_user}","gists_url":"https://api.github.com/users/savoirfairelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/savoirfairelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savoirfairelinux/subscriptions","organizations_url":"https://api.github.com/users/savoirfairelinux/orgs","repos_url":"https://api.github.com/users/savoirfairelinux/repos","events_url":"https://api.github.com/users/savoirfairelinux/events{/privacy}","received_events_url":"https://api.github.com/users/savoirfairelinux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/savoirfairelinux/odoo-extra","description":"unsupported addons (runbot, document_fs)","fork":true,"url":"https://api.github.com/repos/savoirfairelinux/odoo-extra","forks_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/forks","keys_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/teams","hooks_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/hooks","issue_events_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/issues/events{/number}","events_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/events","assignees_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/assignees{/user}","branches_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/branches{/branch}","tags_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/tags","blobs_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/git/refs{/sha}","trees_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/statuses/{sha}","languages_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/languages","stargazers_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/stargazers","contributors_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/contributors","subscribers_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/subscribers","subscription_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/subscription","commits_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/commits{/sha}","git_commits_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/git/commits{/sha}","comments_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/comments{/number}","issue_comment_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/issues/comments/{number}","contents_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/contents/{+path}","compare_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/merges","archive_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/downloads","issues_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/issues{/number}","pulls_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/pulls{/number}","milestones_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/milestones{/number}","notifications_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/labels{/name}","releases_url":"https://api.github.com/repos/savoirfairelinux/odoo-extra/releases{/id}","created_at":"2014-07-25T18:06:05Z","updated_at":"2014-07-24T09:15:58Z","pushed_at":"2015-01-22T23:03:16Z","git_url":"git://github.com/savoirfairelinux/odoo-extra.git","ssh_url":"git@github.com:savoirfairelinux/odoo-extra.git","clone_url":"https://github.com/savoirfairelinux/odoo-extra.git","svn_url":"https://github.com/savoirfairelinux/odoo-extra","homepage":"","size":1604,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"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":"odoo:master","ref":"master","sha":"06a22d288fb2f5023e1d96ca9a86dbe58b2ead19","user":{"login":"odoo","id":6368483,"avatar_url":"https://avatars.githubusercontent.com/u/6368483?v=3","gravatar_id":"","url":"https://api.github.com/users/odoo","html_url":"https://github.com/odoo","followers_url":"https://api.github.com/users/odoo/followers","following_url":"https://api.github.com/users/odoo/following{/other_user}","gists_url":"https://api.github.com/users/odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo/subscriptions","organizations_url":"https://api.github.com/users/odoo/orgs","repos_url":"https://api.github.com/users/odoo/repos","events_url":"https://api.github.com/users/odoo/events{/privacy}","received_events_url":"https://api.github.com/users/odoo/received_events","type":"Organization","site_admin":false},"repo":{"id":20168931,"name":"odoo-extra","full_name":"odoo/odoo-extra","owner":{"login":"odoo","id":6368483,"avatar_url":"https://avatars.githubusercontent.com/u/6368483?v=3","gravatar_id":"","url":"https://api.github.com/users/odoo","html_url":"https://github.com/odoo","followers_url":"https://api.github.com/users/odoo/followers","following_url":"https://api.github.com/users/odoo/following{/other_user}","gists_url":"https://api.github.com/users/odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo/subscriptions","organizations_url":"https://api.github.com/users/odoo/orgs","repos_url":"https://api.github.com/users/odoo/repos","events_url":"https://api.github.com/users/odoo/events{/privacy}","received_events_url":"https://api.github.com/users/odoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odoo/odoo-extra","description":"unsupported addons (runbot, document_fs)","fork":false,"url":"https://api.github.com/repos/odoo/odoo-extra","forks_url":"https://api.github.com/repos/odoo/odoo-extra/forks","keys_url":"https://api.github.com/repos/odoo/odoo-extra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odoo/odoo-extra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odoo/odoo-extra/teams","hooks_url":"https://api.github.com/repos/odoo/odoo-extra/hooks","issue_events_url":"https://api.github.com/repos/odoo/odoo-extra/issues/events{/number}","events_url":"https://api.github.com/repos/odoo/odoo-extra/events","assignees_url":"https://api.github.com/repos/odoo/odoo-extra/assignees{/user}","branches_url":"https://api.github.com/repos/odoo/odoo-extra/branches{/branch}","tags_url":"https://api.github.com/repos/odoo/odoo-extra/tags","blobs_url":"https://api.github.com/repos/odoo/odoo-extra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odoo/odoo-extra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odoo/odoo-extra/git/refs{/sha}","trees_url":"https://api.github.com/repos/odoo/odoo-extra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odoo/odoo-extra/statuses/{sha}","languages_url":"https://api.github.com/repos/odoo/odoo-extra/languages","stargazers_url":"https://api.github.com/repos/odoo/odoo-extra/stargazers","contributors_url":"https://api.github.com/repos/odoo/odoo-extra/contributors","subscribers_url":"https://api.github.com/repos/odoo/odoo-extra/subscribers","subscription_url":"https://api.github.com/repos/odoo/odoo-extra/subscription","commits_url":"https://api.github.com/repos/odoo/odoo-extra/commits{/sha}","git_commits_url":"https://api.github.com/repos/odoo/odoo-extra/git/commits{/sha}","comments_url":"https://api.github.com/repos/odoo/odoo-extra/comments{/number}","issue_comment_url":"https://api.github.com/repos/odoo/odoo-extra/issues/comments/{number}","contents_url":"https://api.github.com/repos/odoo/odoo-extra/contents/{+path}","compare_url":"https://api.github.com/repos/odoo/odoo-extra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odoo/odoo-extra/merges","archive_url":"https://api.github.com/repos/odoo/odoo-extra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odoo/odoo-extra/downloads","issues_url":"https://api.github.com/repos/odoo/odoo-extra/issues{/number}","pulls_url":"https://api.github.com/repos/odoo/odoo-extra/pulls{/number}","milestones_url":"https://api.github.com/repos/odoo/odoo-extra/milestones{/number}","notifications_url":"https://api.github.com/repos/odoo/odoo-extra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odoo/odoo-extra/labels{/name}","releases_url":"https://api.github.com/repos/odoo/odoo-extra/releases{/id}","created_at":"2014-05-25T23:36:16Z","updated_at":"2015-01-22T16:23:24Z","pushed_at":"2015-01-22T16:23:23Z","git_url":"git://github.com/odoo/odoo-extra.git","ssh_url":"git@github.com:odoo/odoo-extra.git","clone_url":"https://github.com/odoo/odoo-extra.git","svn_url":"https://github.com/odoo/odoo-extra","homepage":"","size":2935,"stargazers_count":34,"watchers_count":34,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":13,"forks":56,"open_issues":13,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/odoo/odoo-extra/pulls/51"},"html":{"href":"https://github.com/odoo/odoo-extra/pull/51"},"issue":{"href":"https://api.github.com/repos/odoo/odoo-extra/issues/51"},"comments":{"href":"https://api.github.com/repos/odoo/odoo-extra/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/odoo/odoo-extra/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/odoo/odoo-extra/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/odoo/odoo-extra/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/odoo/odoo-extra/statuses/89f6b7a6272b3170cf2c0e670d56e13098e12f5a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":1,"changed_files":1}}