{"action":"closed","number":22,"pull_request":{"url":"https://api.github.com/repos/mozilla/PyFxA/pulls/22","id":32014873,"html_url":"https://github.com/mozilla/PyFxA/pull/22","diff_url":"https://github.com/mozilla/PyFxA/pull/22.diff","patch_url":"https://github.com/mozilla/PyFxA/pull/22.patch","issue_url":"https://api.github.com/repos/mozilla/PyFxA/issues/22","number":22,"state":"closed","locked":false,"title":"If gevent is activated (using monkey_patch) we have to use grequests instead of requests.","user":{"login":"Natim","id":229453,"avatar_url":"https://avatars.githubusercontent.com/u/229453?v=3","gravatar_id":"","url":"https://api.github.com/users/Natim","html_url":"https://github.com/Natim","followers_url":"https://api.github.com/users/Natim/followers","following_url":"https://api.github.com/users/Natim/following{/other_user}","gists_url":"https://api.github.com/users/Natim/gists{/gist_id}","starred_url":"https://api.github.com/users/Natim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Natim/subscriptions","organizations_url":"https://api.github.com/users/Natim/orgs","repos_url":"https://api.github.com/users/Natim/repos","events_url":"https://api.github.com/users/Natim/events{/privacy}","received_events_url":"https://api.github.com/users/Natim/received_events","type":"User","site_admin":false},"body":"This fix works, but I am not a fan yet. I will try to figure out how we can check if gevent is activated instead.","created_at":"2015-03-26T13:00:42Z","updated_at":"2015-07-22T11:46:20Z","closed_at":"2015-07-22T11:46:20Z","merged_at":"2015-07-22T11:46:20Z","merge_commit_sha":"25292abcbab015db71719a069b24e1f4175b2195","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/PyFxA/pulls/22/commits","review_comments_url":"https://api.github.com/repos/mozilla/PyFxA/pulls/22/comments","review_comment_url":"https://api.github.com/repos/mozilla/PyFxA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/PyFxA/issues/22/comments","statuses_url":"https://api.github.com/repos/mozilla/PyFxA/statuses/64dbec2e75cb00b4cc567518335917aa27503638","head":{"label":"mozilla:use_gevent_if_present","ref":"use_gevent_if_present","sha":"64dbec2e75cb00b4cc567518335917aa27503638","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":26752147,"name":"PyFxA","full_name":"mozilla/PyFxA","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/PyFxA","description":"Python library for interacting with the Firefox Accounts ecosystem","fork":false,"url":"https://api.github.com/repos/mozilla/PyFxA","forks_url":"https://api.github.com/repos/mozilla/PyFxA/forks","keys_url":"https://api.github.com/repos/mozilla/PyFxA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/PyFxA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/PyFxA/teams","hooks_url":"https://api.github.com/repos/mozilla/PyFxA/hooks","issue_events_url":"https://api.github.com/repos/mozilla/PyFxA/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/PyFxA/events","assignees_url":"https://api.github.com/repos/mozilla/PyFxA/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/PyFxA/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/PyFxA/tags","blobs_url":"https://api.github.com/repos/mozilla/PyFxA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/PyFxA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/PyFxA/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/PyFxA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/PyFxA/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/PyFxA/languages","stargazers_url":"https://api.github.com/repos/mozilla/PyFxA/stargazers","contributors_url":"https://api.github.com/repos/mozilla/PyFxA/contributors","subscribers_url":"https://api.github.com/repos/mozilla/PyFxA/subscribers","subscription_url":"https://api.github.com/repos/mozilla/PyFxA/subscription","commits_url":"https://api.github.com/repos/mozilla/PyFxA/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/PyFxA/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/PyFxA/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/PyFxA/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/PyFxA/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/PyFxA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/PyFxA/merges","archive_url":"https://api.github.com/repos/mozilla/PyFxA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/PyFxA/downloads","issues_url":"https://api.github.com/repos/mozilla/PyFxA/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/PyFxA/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/PyFxA/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/PyFxA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/PyFxA/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/PyFxA/releases{/id}","created_at":"2014-11-17T10:41:40Z","updated_at":"2015-05-08T22:44:50Z","pushed_at":"2015-07-22T11:46:20Z","git_url":"git://github.com/mozilla/PyFxA.git","ssh_url":"git@github.com:mozilla/PyFxA.git","clone_url":"https://github.com/mozilla/PyFxA.git","svn_url":"https://github.com/mozilla/PyFxA","homepage":null,"size":463,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":9,"forks":5,"open_issues":9,"watchers":3,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"fe30f22887aacfc54e5cde078a2851915ac8069e","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":26752147,"name":"PyFxA","full_name":"mozilla/PyFxA","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/PyFxA","description":"Python library for interacting with the Firefox Accounts ecosystem","fork":false,"url":"https://api.github.com/repos/mozilla/PyFxA","forks_url":"https://api.github.com/repos/mozilla/PyFxA/forks","keys_url":"https://api.github.com/repos/mozilla/PyFxA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/PyFxA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/PyFxA/teams","hooks_url":"https://api.github.com/repos/mozilla/PyFxA/hooks","issue_events_url":"https://api.github.com/repos/mozilla/PyFxA/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/PyFxA/events","assignees_url":"https://api.github.com/repos/mozilla/PyFxA/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/PyFxA/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/PyFxA/tags","blobs_url":"https://api.github.com/repos/mozilla/PyFxA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/PyFxA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/PyFxA/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/PyFxA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/PyFxA/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/PyFxA/languages","stargazers_url":"https://api.github.com/repos/mozilla/PyFxA/stargazers","contributors_url":"https://api.github.com/repos/mozilla/PyFxA/contributors","subscribers_url":"https://api.github.com/repos/mozilla/PyFxA/subscribers","subscription_url":"https://api.github.com/repos/mozilla/PyFxA/subscription","commits_url":"https://api.github.com/repos/mozilla/PyFxA/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/PyFxA/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/PyFxA/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/PyFxA/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/PyFxA/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/PyFxA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/PyFxA/merges","archive_url":"https://api.github.com/repos/mozilla/PyFxA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/PyFxA/downloads","issues_url":"https://api.github.com/repos/mozilla/PyFxA/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/PyFxA/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/PyFxA/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/PyFxA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/PyFxA/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/PyFxA/releases{/id}","created_at":"2014-11-17T10:41:40Z","updated_at":"2015-05-08T22:44:50Z","pushed_at":"2015-07-22T11:46:20Z","git_url":"git://github.com/mozilla/PyFxA.git","ssh_url":"git@github.com:mozilla/PyFxA.git","clone_url":"https://github.com/mozilla/PyFxA.git","svn_url":"https://github.com/mozilla/PyFxA","homepage":null,"size":463,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":9,"forks":5,"open_issues":9,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/PyFxA/pulls/22"},"html":{"href":"https://github.com/mozilla/PyFxA/pull/22"},"issue":{"href":"https://api.github.com/repos/mozilla/PyFxA/issues/22"},"comments":{"href":"https://api.github.com/repos/mozilla/PyFxA/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/PyFxA/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/PyFxA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/PyFxA/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/PyFxA/statuses/64dbec2e75cb00b4cc567518335917aa27503638"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Natim","id":229453,"avatar_url":"https://avatars.githubusercontent.com/u/229453?v=3","gravatar_id":"","url":"https://api.github.com/users/Natim","html_url":"https://github.com/Natim","followers_url":"https://api.github.com/users/Natim/followers","following_url":"https://api.github.com/users/Natim/following{/other_user}","gists_url":"https://api.github.com/users/Natim/gists{/gist_id}","starred_url":"https://api.github.com/users/Natim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Natim/subscriptions","organizations_url":"https://api.github.com/users/Natim/orgs","repos_url":"https://api.github.com/users/Natim/repos","events_url":"https://api.github.com/users/Natim/events{/privacy}","received_events_url":"https://api.github.com/users/Natim/received_events","type":"User","site_admin":false},"comments":8,"review_comments":4,"commits":5,"additions":44,"deletions":18,"changed_files":7}}