{"action":"closed","number":213,"pull_request":{"url":"https://api.github.com/repos/couchapp/couchapp/pulls/213","id":54601427,"html_url":"https://github.com/couchapp/couchapp/pull/213","diff_url":"https://github.com/couchapp/couchapp/pull/213.diff","patch_url":"https://github.com/couchapp/couchapp/pull/213.patch","issue_url":"https://api.github.com/repos/couchapp/couchapp/issues/213","number":213,"state":"closed","locked":false,"title":"[config.py][#176] Code refinement for Config.get_dbs","user":{"login":"iblis17","id":761623,"avatar_url":"https://avatars.githubusercontent.com/u/761623?v=3","gravatar_id":"","url":"https://api.github.com/users/iblis17","html_url":"https://github.com/iblis17","followers_url":"https://api.github.com/users/iblis17/followers","following_url":"https://api.github.com/users/iblis17/following{/other_user}","gists_url":"https://api.github.com/users/iblis17/gists{/gist_id}","starred_url":"https://api.github.com/users/iblis17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iblis17/subscriptions","organizations_url":"https://api.github.com/users/iblis17/orgs","repos_url":"https://api.github.com/users/iblis17/repos","events_url":"https://api.github.com/users/iblis17/events{/privacy}","received_events_url":"https://api.github.com/users/iblis17/received_events","type":"User","site_admin":false},"body":"1. Try to reduce the nesting depth of if statement.\r\n2. Coding style: replace `f(a) or f(b)` with `any(map(f, (a, b)))`.","created_at":"2015-12-26T12:18:56Z","updated_at":"2016-01-01T18:10:40Z","closed_at":"2016-01-01T18:10:40Z","merged_at":"2016-01-01T18:10:40Z","merge_commit_sha":"1c61e4fa99de290ebe63921a54d5fb670c98f02c","assignee":{"login":"iblis17","id":761623,"avatar_url":"https://avatars.githubusercontent.com/u/761623?v=3","gravatar_id":"","url":"https://api.github.com/users/iblis17","html_url":"https://github.com/iblis17","followers_url":"https://api.github.com/users/iblis17/followers","following_url":"https://api.github.com/users/iblis17/following{/other_user}","gists_url":"https://api.github.com/users/iblis17/gists{/gist_id}","starred_url":"https://api.github.com/users/iblis17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iblis17/subscriptions","organizations_url":"https://api.github.com/users/iblis17/orgs","repos_url":"https://api.github.com/users/iblis17/repos","events_url":"https://api.github.com/users/iblis17/events{/privacy}","received_events_url":"https://api.github.com/users/iblis17/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/couchapp/couchapp/pulls/213/commits","review_comments_url":"https://api.github.com/repos/couchapp/couchapp/pulls/213/comments","review_comment_url":"https://api.github.com/repos/couchapp/couchapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/couchapp/couchapp/issues/213/comments","statuses_url":"https://api.github.com/repos/couchapp/couchapp/statuses/5906c16dd5a0d8074f85d8c49857996fe6a5f4a4","head":{"label":"iblis17:issue-176","ref":"issue-176","sha":"5906c16dd5a0d8074f85d8c49857996fe6a5f4a4","user":{"login":"iblis17","id":761623,"avatar_url":"https://avatars.githubusercontent.com/u/761623?v=3","gravatar_id":"","url":"https://api.github.com/users/iblis17","html_url":"https://github.com/iblis17","followers_url":"https://api.github.com/users/iblis17/followers","following_url":"https://api.github.com/users/iblis17/following{/other_user}","gists_url":"https://api.github.com/users/iblis17/gists{/gist_id}","starred_url":"https://api.github.com/users/iblis17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iblis17/subscriptions","organizations_url":"https://api.github.com/users/iblis17/orgs","repos_url":"https://api.github.com/users/iblis17/repos","events_url":"https://api.github.com/users/iblis17/events{/privacy}","received_events_url":"https://api.github.com/users/iblis17/received_events","type":"User","site_admin":false},"repo":{"id":39674963,"name":"couchapp","full_name":"iblis17/couchapp","owner":{"login":"iblis17","id":761623,"avatar_url":"https://avatars.githubusercontent.com/u/761623?v=3","gravatar_id":"","url":"https://api.github.com/users/iblis17","html_url":"https://github.com/iblis17","followers_url":"https://api.github.com/users/iblis17/followers","following_url":"https://api.github.com/users/iblis17/following{/other_user}","gists_url":"https://api.github.com/users/iblis17/gists{/gist_id}","starred_url":"https://api.github.com/users/iblis17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iblis17/subscriptions","organizations_url":"https://api.github.com/users/iblis17/orgs","repos_url":"https://api.github.com/users/iblis17/repos","events_url":"https://api.github.com/users/iblis17/events{/privacy}","received_events_url":"https://api.github.com/users/iblis17/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iblis17/couchapp","description":"Utilities to make standalone CouchDB application development simple","fork":true,"url":"https://api.github.com/repos/iblis17/couchapp","forks_url":"https://api.github.com/repos/iblis17/couchapp/forks","keys_url":"https://api.github.com/repos/iblis17/couchapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iblis17/couchapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iblis17/couchapp/teams","hooks_url":"https://api.github.com/repos/iblis17/couchapp/hooks","issue_events_url":"https://api.github.com/repos/iblis17/couchapp/issues/events{/number}","events_url":"https://api.github.com/repos/iblis17/couchapp/events","assignees_url":"https://api.github.com/repos/iblis17/couchapp/assignees{/user}","branches_url":"https://api.github.com/repos/iblis17/couchapp/branches{/branch}","tags_url":"https://api.github.com/repos/iblis17/couchapp/tags","blobs_url":"https://api.github.com/repos/iblis17/couchapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iblis17/couchapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iblis17/couchapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/iblis17/couchapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iblis17/couchapp/statuses/{sha}","languages_url":"https://api.github.com/repos/iblis17/couchapp/languages","stargazers_url":"https://api.github.com/repos/iblis17/couchapp/stargazers","contributors_url":"https://api.github.com/repos/iblis17/couchapp/contributors","subscribers_url":"https://api.github.com/repos/iblis17/couchapp/subscribers","subscription_url":"https://api.github.com/repos/iblis17/couchapp/subscription","commits_url":"https://api.github.com/repos/iblis17/couchapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/iblis17/couchapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/iblis17/couchapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/iblis17/couchapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/iblis17/couchapp/contents/{+path}","compare_url":"https://api.github.com/repos/iblis17/couchapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iblis17/couchapp/merges","archive_url":"https://api.github.com/repos/iblis17/couchapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iblis17/couchapp/downloads","issues_url":"https://api.github.com/repos/iblis17/couchapp/issues{/number}","pulls_url":"https://api.github.com/repos/iblis17/couchapp/pulls{/number}","milestones_url":"https://api.github.com/repos/iblis17/couchapp/milestones{/number}","notifications_url":"https://api.github.com/repos/iblis17/couchapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iblis17/couchapp/labels{/name}","releases_url":"https://api.github.com/repos/iblis17/couchapp/releases{/id}","created_at":"2015-07-25T06:25:07Z","updated_at":"2015-08-05T06:49:54Z","pushed_at":"2015-12-26T12:18:01Z","git_url":"git://github.com/iblis17/couchapp.git","ssh_url":"git@github.com:iblis17/couchapp.git","clone_url":"https://github.com/iblis17/couchapp.git","svn_url":"https://github.com/iblis17/couchapp","homepage":"","size":9195,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"couchapp:master","ref":"master","sha":"9d6a386b692f31b481495b03aa3fc780a5aadb98","user":{"login":"couchapp","id":86361,"avatar_url":"https://avatars.githubusercontent.com/u/86361?v=3","gravatar_id":"","url":"https://api.github.com/users/couchapp","html_url":"https://github.com/couchapp","followers_url":"https://api.github.com/users/couchapp/followers","following_url":"https://api.github.com/users/couchapp/following{/other_user}","gists_url":"https://api.github.com/users/couchapp/gists{/gist_id}","starred_url":"https://api.github.com/users/couchapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchapp/subscriptions","organizations_url":"https://api.github.com/users/couchapp/orgs","repos_url":"https://api.github.com/users/couchapp/repos","events_url":"https://api.github.com/users/couchapp/events{/privacy}","received_events_url":"https://api.github.com/users/couchapp/received_events","type":"Organization","site_admin":false},"repo":{"id":207569,"name":"couchapp","full_name":"couchapp/couchapp","owner":{"login":"couchapp","id":86361,"avatar_url":"https://avatars.githubusercontent.com/u/86361?v=3","gravatar_id":"","url":"https://api.github.com/users/couchapp","html_url":"https://github.com/couchapp","followers_url":"https://api.github.com/users/couchapp/followers","following_url":"https://api.github.com/users/couchapp/following{/other_user}","gists_url":"https://api.github.com/users/couchapp/gists{/gist_id}","starred_url":"https://api.github.com/users/couchapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchapp/subscriptions","organizations_url":"https://api.github.com/users/couchapp/orgs","repos_url":"https://api.github.com/users/couchapp/repos","events_url":"https://api.github.com/users/couchapp/events{/privacy}","received_events_url":"https://api.github.com/users/couchapp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/couchapp/couchapp","description":"Utilities to make standalone CouchDB application development simple","fork":true,"url":"https://api.github.com/repos/couchapp/couchapp","forks_url":"https://api.github.com/repos/couchapp/couchapp/forks","keys_url":"https://api.github.com/repos/couchapp/couchapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/couchapp/couchapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/couchapp/couchapp/teams","hooks_url":"https://api.github.com/repos/couchapp/couchapp/hooks","issue_events_url":"https://api.github.com/repos/couchapp/couchapp/issues/events{/number}","events_url":"https://api.github.com/repos/couchapp/couchapp/events","assignees_url":"https://api.github.com/repos/couchapp/couchapp/assignees{/user}","branches_url":"https://api.github.com/repos/couchapp/couchapp/branches{/branch}","tags_url":"https://api.github.com/repos/couchapp/couchapp/tags","blobs_url":"https://api.github.com/repos/couchapp/couchapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/couchapp/couchapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/couchapp/couchapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/couchapp/couchapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/couchapp/couchapp/statuses/{sha}","languages_url":"https://api.github.com/repos/couchapp/couchapp/languages","stargazers_url":"https://api.github.com/repos/couchapp/couchapp/stargazers","contributors_url":"https://api.github.com/repos/couchapp/couchapp/contributors","subscribers_url":"https://api.github.com/repos/couchapp/couchapp/subscribers","subscription_url":"https://api.github.com/repos/couchapp/couchapp/subscription","commits_url":"https://api.github.com/repos/couchapp/couchapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/couchapp/couchapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/couchapp/couchapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/couchapp/couchapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/couchapp/couchapp/contents/{+path}","compare_url":"https://api.github.com/repos/couchapp/couchapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/couchapp/couchapp/merges","archive_url":"https://api.github.com/repos/couchapp/couchapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/couchapp/couchapp/downloads","issues_url":"https://api.github.com/repos/couchapp/couchapp/issues{/number}","pulls_url":"https://api.github.com/repos/couchapp/couchapp/pulls{/number}","milestones_url":"https://api.github.com/repos/couchapp/couchapp/milestones{/number}","notifications_url":"https://api.github.com/repos/couchapp/couchapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/couchapp/couchapp/labels{/name}","releases_url":"https://api.github.com/repos/couchapp/couchapp/releases{/id}","created_at":"2009-05-22T10:17:24Z","updated_at":"2016-01-01T13:48:32Z","pushed_at":"2016-01-01T18:10:40Z","git_url":"git://github.com/couchapp/couchapp.git","ssh_url":"git@github.com:couchapp/couchapp.git","clone_url":"https://github.com/couchapp/couchapp.git","svn_url":"https://github.com/couchapp/couchapp","homepage":"","size":8631,"stargazers_count":735,"watchers_count":735,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":83,"mirror_url":null,"open_issues_count":30,"forks":83,"open_issues":30,"watchers":735,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/couchapp/couchapp/pulls/213"},"html":{"href":"https://github.com/couchapp/couchapp/pull/213"},"issue":{"href":"https://api.github.com/repos/couchapp/couchapp/issues/213"},"comments":{"href":"https://api.github.com/repos/couchapp/couchapp/issues/213/comments"},"review_comments":{"href":"https://api.github.com/repos/couchapp/couchapp/pulls/213/comments"},"review_comment":{"href":"https://api.github.com/repos/couchapp/couchapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/couchapp/couchapp/pulls/213/commits"},"statuses":{"href":"https://api.github.com/repos/couchapp/couchapp/statuses/5906c16dd5a0d8074f85d8c49857996fe6a5f4a4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"iblis17","id":761623,"avatar_url":"https://avatars.githubusercontent.com/u/761623?v=3","gravatar_id":"","url":"https://api.github.com/users/iblis17","html_url":"https://github.com/iblis17","followers_url":"https://api.github.com/users/iblis17/followers","following_url":"https://api.github.com/users/iblis17/following{/other_user}","gists_url":"https://api.github.com/users/iblis17/gists{/gist_id}","starred_url":"https://api.github.com/users/iblis17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iblis17/subscriptions","organizations_url":"https://api.github.com/users/iblis17/orgs","repos_url":"https://api.github.com/users/iblis17/repos","events_url":"https://api.github.com/users/iblis17/events{/privacy}","received_events_url":"https://api.github.com/users/iblis17/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":20,"deletions":17,"changed_files":1}}