{"action":"created","comment":{"url":"https://api.github.com/repos/fedora-infra/python-fedora/pulls/comments/40671570","id":40671570,"diff_hunk":"@@ -182,7 +183,8 @@ def _authed_get(self, url, params=None, data=None, **kwargs):\n         response = self._session.get(url, params=params, data=data, **kwargs)\n         return response\n \n-    def send_request(self, method, auth=False, verb='POST', **kwargs):\n+    def send_request(self, method, auth=False, verb='POST', retries=None,\n+                     retry_sleep=0.5, **kwargs):","path":"fedora/client/openidbaseclient.py","position":14,"original_position":14,"commit_id":"0ac92071d9d1d050e7152fb49eaaf39516329673","original_commit_id":"0ac92071d9d1d050e7152fb49eaaf39516329673","user":{"login":"ralphbean","id":331338,"avatar_url":"https://avatars.githubusercontent.com/u/331338?v=3","gravatar_id":"","url":"https://api.github.com/users/ralphbean","html_url":"https://github.com/ralphbean","followers_url":"https://api.github.com/users/ralphbean/followers","following_url":"https://api.github.com/users/ralphbean/following{/other_user}","gists_url":"https://api.github.com/users/ralphbean/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphbean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphbean/subscriptions","organizations_url":"https://api.github.com/users/ralphbean/orgs","repos_url":"https://api.github.com/users/ralphbean/repos","events_url":"https://api.github.com/users/ralphbean/events{/privacy}","received_events_url":"https://api.github.com/users/ralphbean/received_events","type":"User","site_admin":false},"body":"Yes.  That makes a lot of sense to me.","created_at":"2015-09-29T13:38:25Z","updated_at":"2015-09-29T13:38:25Z","html_url":"https://github.com/fedora-infra/python-fedora/pull/151#discussion_r40671570","pull_request_url":"https://api.github.com/repos/fedora-infra/python-fedora/pulls/151","_links":{"self":{"href":"https://api.github.com/repos/fedora-infra/python-fedora/pulls/comments/40671570"},"html":{"href":"https://github.com/fedora-infra/python-fedora/pull/151#discussion_r40671570"},"pull_request":{"href":"https://api.github.com/repos/fedora-infra/python-fedora/pulls/151"}}},"pull_request":{"url":"https://api.github.com/repos/fedora-infra/python-fedora/pulls/151","id":45991098,"html_url":"https://github.com/fedora-infra/python-fedora/pull/151","diff_url":"https://github.com/fedora-infra/python-fedora/pull/151.diff","patch_url":"https://github.com/fedora-infra/python-fedora/pull/151.patch","issue_url":"https://api.github.com/repos/fedora-infra/python-fedora/issues/151","number":151,"state":"open","locked":false,"title":"Retry on timeout and 500+ errors","user":{"login":"pypingou","id":1240038,"avatar_url":"https://avatars.githubusercontent.com/u/1240038?v=3","gravatar_id":"","url":"https://api.github.com/users/pypingou","html_url":"https://github.com/pypingou","followers_url":"https://api.github.com/users/pypingou/followers","following_url":"https://api.github.com/users/pypingou/following{/other_user}","gists_url":"https://api.github.com/users/pypingou/gists{/gist_id}","starred_url":"https://api.github.com/users/pypingou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pypingou/subscriptions","organizations_url":"https://api.github.com/users/pypingou/orgs","repos_url":"https://api.github.com/users/pypingou/repos","events_url":"https://api.github.com/users/pypingou/events{/privacy}","received_events_url":"https://api.github.com/users/pypingou/received_events","type":"User","site_admin":false},"body":"This pull-request allows the client to ask for a request to be retried if that request failed due to a\r\ntime-out or because it returned an error code >= 500.\r\nIn addition, it allows the clients to specify how long they want to wait in between two attempts of\r\nsending the request (defaults to 0.5 second).\r\n\r\nFixes https://github.com/fedora-infra/python-fedora/issues/144","created_at":"2015-09-25T09:10:13Z","updated_at":"2015-09-29T13:38:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6734eedce668d3c02da50bcc9a22395e3b3d3a4e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fedora-infra/python-fedora/pulls/151/commits","review_comments_url":"https://api.github.com/repos/fedora-infra/python-fedora/pulls/151/comments","review_comment_url":"https://api.github.com/repos/fedora-infra/python-fedora/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fedora-infra/python-fedora/issues/151/comments","statuses_url":"https://api.github.com/repos/fedora-infra/python-fedora/statuses/0ac92071d9d1d050e7152fb49eaaf39516329673","head":{"label":"fedora-infra:retry_on_timeout","ref":"retry_on_timeout","sha":"0ac92071d9d1d050e7152fb49eaaf39516329673","user":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"repo":{"id":7708613,"name":"python-fedora","full_name":"fedora-infra/python-fedora","owner":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fedora-infra/python-fedora","description":"A Python library for interacting with, and connecting to, Fedora services.","fork":false,"url":"https://api.github.com/repos/fedora-infra/python-fedora","forks_url":"https://api.github.com/repos/fedora-infra/python-fedora/forks","keys_url":"https://api.github.com/repos/fedora-infra/python-fedora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fedora-infra/python-fedora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fedora-infra/python-fedora/teams","hooks_url":"https://api.github.com/repos/fedora-infra/python-fedora/hooks","issue_events_url":"https://api.github.com/repos/fedora-infra/python-fedora/issues/events{/number}","events_url":"https://api.github.com/repos/fedora-infra/python-fedora/events","assignees_url":"https://api.github.com/repos/fedora-infra/python-fedora/assignees{/user}","branches_url":"https://api.github.com/repos/fedora-infra/python-fedora/branches{/branch}","tags_url":"https://api.github.com/repos/fedora-infra/python-fedora/tags","blobs_url":"https://api.github.com/repos/fedora-infra/python-fedora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fedora-infra/python-fedora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fedora-infra/python-fedora/git/refs{/sha}","trees_url":"https://api.github.com/repos/fedora-infra/python-fedora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fedora-infra/python-fedora/statuses/{sha}","languages_url":"https://api.github.com/repos/fedora-infra/python-fedora/languages","stargazers_url":"https://api.github.com/repos/fedora-infra/python-fedora/stargazers","contributors_url":"https://api.github.com/repos/fedora-infra/python-fedora/contributors","subscribers_url":"https://api.github.com/repos/fedora-infra/python-fedora/subscribers","subscription_url":"https://api.github.com/repos/fedora-infra/python-fedora/subscription","commits_url":"https://api.github.com/repos/fedora-infra/python-fedora/commits{/sha}","git_commits_url":"https://api.github.com/repos/fedora-infra/python-fedora/git/commits{/sha}","comments_url":"https://api.github.com/repos/fedora-infra/python-fedora/comments{/number}","issue_comment_url":"https://api.github.com/repos/fedora-infra/python-fedora/issues/comments{/number}","contents_url":"https://api.github.com/repos/fedora-infra/python-fedora/contents/{+path}","compare_url":"https://api.github.com/repos/fedora-infra/python-fedora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fedora-infra/python-fedora/merges","archive_url":"https://api.github.com/repos/fedora-infra/python-fedora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fedora-infra/python-fedora/downloads","issues_url":"https://api.github.com/repos/fedora-infra/python-fedora/issues{/number}","pulls_url":"https://api.github.com/repos/fedora-infra/python-fedora/pulls{/number}","milestones_url":"https://api.github.com/repos/fedora-infra/python-fedora/milestones{/number}","notifications_url":"https://api.github.com/repos/fedora-infra/python-fedora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fedora-infra/python-fedora/labels{/name}","releases_url":"https://api.github.com/repos/fedora-infra/python-fedora/releases{/id}","created_at":"2013-01-19T20:48:42Z","updated_at":"2015-09-09T07:47:05Z","pushed_at":"2015-09-25T09:10:13Z","git_url":"git://github.com/fedora-infra/python-fedora.git","ssh_url":"git@github.com:fedora-infra/python-fedora.git","clone_url":"https://github.com/fedora-infra/python-fedora.git","svn_url":"https://github.com/fedora-infra/python-fedora","homepage":"","size":5303,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":4,"forks":15,"open_issues":4,"watchers":17,"default_branch":"develop"}},"base":{"label":"fedora-infra:develop","ref":"develop","sha":"ae70a77830bf8d7565398dfa1a5b4f1f8861851a","user":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"repo":{"id":7708613,"name":"python-fedora","full_name":"fedora-infra/python-fedora","owner":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fedora-infra/python-fedora","description":"A Python library for interacting with, and connecting to, Fedora services.","fork":false,"url":"https://api.github.com/repos/fedora-infra/python-fedora","forks_url":"https://api.github.com/repos/fedora-infra/python-fedora/forks","keys_url":"https://api.github.com/repos/fedora-infra/python-fedora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fedora-infra/python-fedora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fedora-infra/python-fedora/teams","hooks_url":"https://api.github.com/repos/fedora-infra/python-fedora/hooks","issue_events_url":"https://api.github.com/repos/fedora-infra/python-fedora/issues/events{/number}","events_url":"https://api.github.com/repos/fedora-infra/python-fedora/events","assignees_url":"https://api.github.com/repos/fedora-infra/python-fedora/assignees{/user}","branches_url":"https://api.github.com/repos/fedora-infra/python-fedora/branches{/branch}","tags_url":"https://api.github.com/repos/fedora-infra/python-fedora/tags","blobs_url":"https://api.github.com/repos/fedora-infra/python-fedora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fedora-infra/python-fedora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fedora-infra/python-fedora/git/refs{/sha}","trees_url":"https://api.github.com/repos/fedora-infra/python-fedora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fedora-infra/python-fedora/statuses/{sha}","languages_url":"https://api.github.com/repos/fedora-infra/python-fedora/languages","stargazers_url":"https://api.github.com/repos/fedora-infra/python-fedora/stargazers","contributors_url":"https://api.github.com/repos/fedora-infra/python-fedora/contributors","subscribers_url":"https://api.github.com/repos/fedora-infra/python-fedora/subscribers","subscription_url":"https://api.github.com/repos/fedora-infra/python-fedora/subscription","commits_url":"https://api.github.com/repos/fedora-infra/python-fedora/commits{/sha}","git_commits_url":"https://api.github.com/repos/fedora-infra/python-fedora/git/commits{/sha}","comments_url":"https://api.github.com/repos/fedora-infra/python-fedora/comments{/number}","issue_comment_url":"https://api.github.com/repos/fedora-infra/python-fedora/issues/comments{/number}","contents_url":"https://api.github.com/repos/fedora-infra/python-fedora/contents/{+path}","compare_url":"https://api.github.com/repos/fedora-infra/python-fedora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fedora-infra/python-fedora/merges","archive_url":"https://api.github.com/repos/fedora-infra/python-fedora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fedora-infra/python-fedora/downloads","issues_url":"https://api.github.com/repos/fedora-infra/python-fedora/issues{/number}","pulls_url":"https://api.github.com/repos/fedora-infra/python-fedora/pulls{/number}","milestones_url":"https://api.github.com/repos/fedora-infra/python-fedora/milestones{/number}","notifications_url":"https://api.github.com/repos/fedora-infra/python-fedora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fedora-infra/python-fedora/labels{/name}","releases_url":"https://api.github.com/repos/fedora-infra/python-fedora/releases{/id}","created_at":"2013-01-19T20:48:42Z","updated_at":"2015-09-09T07:47:05Z","pushed_at":"2015-09-25T09:10:13Z","git_url":"git://github.com/fedora-infra/python-fedora.git","ssh_url":"git@github.com:fedora-infra/python-fedora.git","clone_url":"https://github.com/fedora-infra/python-fedora.git","svn_url":"https://github.com/fedora-infra/python-fedora","homepage":"","size":5303,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":4,"forks":15,"open_issues":4,"watchers":17,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/fedora-infra/python-fedora/pulls/151"},"html":{"href":"https://github.com/fedora-infra/python-fedora/pull/151"},"issue":{"href":"https://api.github.com/repos/fedora-infra/python-fedora/issues/151"},"comments":{"href":"https://api.github.com/repos/fedora-infra/python-fedora/issues/151/comments"},"review_comments":{"href":"https://api.github.com/repos/fedora-infra/python-fedora/pulls/151/comments"},"review_comment":{"href":"https://api.github.com/repos/fedora-infra/python-fedora/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fedora-infra/python-fedora/pulls/151/commits"},"statuses":{"href":"https://api.github.com/repos/fedora-infra/python-fedora/statuses/0ac92071d9d1d050e7152fb49eaaf39516329673"}}}}