{"action":"created","comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/comments/356573929","pull_request_review_id":330509778,"id":356573929,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM1NjU3MzkyOQ==","diff_hunk":"@@ -4575,8 +4504,8 @@ def clean_rows(data_to_clean):\n                         if location_id not in added_locations:\n                             added_locations.append(location_id)\n                         if program_id not in added_programs and \\\n-                            ((program_id == wanted_program and product_id in self.program_and_products[program_id])\n-                                or not wanted_program):\n+                                (self.is_product_in_program((product_id, product_name), program_id) and","path":"custom/intrahealth/sqldata.py","position":284,"original_position":284,"commit_id":"a6c1344811d5f577abf861adccef7d598ca343fa","original_commit_id":"a6c1344811d5f577abf861adccef7d598ca343fa","user":{"login":"stickler-ci","id":16011037,"node_id":"MDQ6VXNlcjE2MDExMDM3","avatar_url":"https://avatars3.githubusercontent.com/u/16011037?v=4","gravatar_id":"","url":"https://api.github.com/users/stickler-ci","html_url":"https://github.com/stickler-ci","followers_url":"https://api.github.com/users/stickler-ci/followers","following_url":"https://api.github.com/users/stickler-ci/following{/other_user}","gists_url":"https://api.github.com/users/stickler-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/stickler-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stickler-ci/subscriptions","organizations_url":"https://api.github.com/users/stickler-ci/orgs","repos_url":"https://api.github.com/users/stickler-ci/repos","events_url":"https://api.github.com/users/stickler-ci/events{/privacy}","received_events_url":"https://api.github.com/users/stickler-ci/received_events","type":"User","site_admin":false},"body":"W504 line break after binary operator","created_at":"2019-12-11T12:40:03Z","updated_at":"2019-12-11T12:40:03Z","html_url":"https://github.com/dimagi/commcare-hq/pull/26181#discussion_r356573929","pull_request_url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/26181","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/comments/356573929"},"html":{"href":"https://github.com/dimagi/commcare-hq/pull/26181#discussion_r356573929"},"pull_request":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/26181"}}},"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/26181","id":351884607,"node_id":"MDExOlB1bGxSZXF1ZXN0MzUxODg0NjA3","html_url":"https://github.com/dimagi/commcare-hq/pull/26181","diff_url":"https://github.com/dimagi/commcare-hq/pull/26181.diff","patch_url":"https://github.com/dimagi/commcare-hq/pull/26181.patch","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/26181","number":26181,"state":"open","locked":false,"title":"[IntraHealth] Fix calculations of 'SYNTHESE' row","user":{"login":"MaciejChoromanski","id":44240012,"node_id":"MDQ6VXNlcjQ0MjQwMDEy","avatar_url":"https://avatars1.githubusercontent.com/u/44240012?v=4","gravatar_id":"","url":"https://api.github.com/users/MaciejChoromanski","html_url":"https://github.com/MaciejChoromanski","followers_url":"https://api.github.com/users/MaciejChoromanski/followers","following_url":"https://api.github.com/users/MaciejChoromanski/following{/other_user}","gists_url":"https://api.github.com/users/MaciejChoromanski/gists{/gist_id}","starred_url":"https://api.github.com/users/MaciejChoromanski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaciejChoromanski/subscriptions","organizations_url":"https://api.github.com/users/MaciejChoromanski/orgs","repos_url":"https://api.github.com/users/MaciejChoromanski/repos","events_url":"https://api.github.com/users/MaciejChoromanski/events{/privacy}","received_events_url":"https://api.github.com/users/MaciejChoromanski/received_events","type":"User","site_admin":false},"body":"https://dimagi-dev.atlassian.net/browse/SL-354\r\n\r\n##### SUMMARY\r\n3 dashboards from the ticket were updated. Now invalid data is not taken into calculations for total row.\r\n","created_at":"2019-12-11T12:21:46Z","updated_at":"2019-12-11T12:40:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c31bafa8a494ff99107b1a48c9daebd7a70b1b9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/26181/commits","review_comments_url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/26181/comments","review_comment_url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/26181/comments","statuses_url":"https://api.github.com/repos/dimagi/commcare-hq/statuses/a6c1344811d5f577abf861adccef7d598ca343fa","head":{"label":"MaciejChoromanski:MC/intrahealth-fix","ref":"MC/intrahealth-fix","sha":"a6c1344811d5f577abf861adccef7d598ca343fa","user":{"login":"MaciejChoromanski","id":44240012,"node_id":"MDQ6VXNlcjQ0MjQwMDEy","avatar_url":"https://avatars1.githubusercontent.com/u/44240012?v=4","gravatar_id":"","url":"https://api.github.com/users/MaciejChoromanski","html_url":"https://github.com/MaciejChoromanski","followers_url":"https://api.github.com/users/MaciejChoromanski/followers","following_url":"https://api.github.com/users/MaciejChoromanski/following{/other_user}","gists_url":"https://api.github.com/users/MaciejChoromanski/gists{/gist_id}","starred_url":"https://api.github.com/users/MaciejChoromanski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaciejChoromanski/subscriptions","organizations_url":"https://api.github.com/users/MaciejChoromanski/orgs","repos_url":"https://api.github.com/users/MaciejChoromanski/repos","events_url":"https://api.github.com/users/MaciejChoromanski/events{/privacy}","received_events_url":"https://api.github.com/users/MaciejChoromanski/received_events","type":"User","site_admin":false},"repo":{"id":194659894,"node_id":"MDEwOlJlcG9zaXRvcnkxOTQ2NTk4OTQ=","name":"commcare-hq","full_name":"MaciejChoromanski/commcare-hq","private":false,"owner":{"login":"MaciejChoromanski","id":44240012,"node_id":"MDQ6VXNlcjQ0MjQwMDEy","avatar_url":"https://avatars1.githubusercontent.com/u/44240012?v=4","gravatar_id":"","url":"https://api.github.com/users/MaciejChoromanski","html_url":"https://github.com/MaciejChoromanski","followers_url":"https://api.github.com/users/MaciejChoromanski/followers","following_url":"https://api.github.com/users/MaciejChoromanski/following{/other_user}","gists_url":"https://api.github.com/users/MaciejChoromanski/gists{/gist_id}","starred_url":"https://api.github.com/users/MaciejChoromanski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaciejChoromanski/subscriptions","organizations_url":"https://api.github.com/users/MaciejChoromanski/orgs","repos_url":"https://api.github.com/users/MaciejChoromanski/repos","events_url":"https://api.github.com/users/MaciejChoromanski/events{/privacy}","received_events_url":"https://api.github.com/users/MaciejChoromanski/received_events","type":"User","site_admin":false},"html_url":"https://github.com/MaciejChoromanski/commcare-hq","description":"A server-side tool to help manage community health workers, written in Django","fork":true,"url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq","forks_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/forks","keys_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/teams","hooks_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/hooks","issue_events_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/issues/events{/number}","events_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/events","assignees_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/assignees{/user}","branches_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/branches{/branch}","tags_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/tags","blobs_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/git/refs{/sha}","trees_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/statuses/{sha}","languages_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/languages","stargazers_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/stargazers","contributors_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/contributors","subscribers_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/subscribers","subscription_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/subscription","commits_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/commits{/sha}","git_commits_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/git/commits{/sha}","comments_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/comments{/number}","issue_comment_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/issues/comments{/number}","contents_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/contents/{+path}","compare_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/merges","archive_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/downloads","issues_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/issues{/number}","pulls_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/pulls{/number}","milestones_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/milestones{/number}","notifications_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/labels{/name}","releases_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/releases{/id}","deployments_url":"https://api.github.com/repos/MaciejChoromanski/commcare-hq/deployments","created_at":"2019-07-01T11:28:42Z","updated_at":"2019-08-27T08:28:42Z","pushed_at":"2019-12-11T12:38:47Z","git_url":"git://github.com/MaciejChoromanski/commcare-hq.git","ssh_url":"git@github.com:MaciejChoromanski/commcare-hq.git","clone_url":"https://github.com/MaciejChoromanski/commcare-hq.git","svn_url":"https://github.com/MaciejChoromanski/commcare-hq","homepage":"https://www.commcarehq.org","size":507810,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"dimagi:master","ref":"master","sha":"f3202bb64d5fa2dbce02d9a1c2ba5f1b8283d607","user":{"login":"dimagi","id":94514,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk0NTE0","avatar_url":"https://avatars1.githubusercontent.com/u/94514?v=4","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"repo":{"id":247278,"node_id":"MDEwOlJlcG9zaXRvcnkyNDcyNzg=","name":"commcare-hq","full_name":"dimagi/commcare-hq","private":false,"owner":{"login":"dimagi","id":94514,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk0NTE0","avatar_url":"https://avatars1.githubusercontent.com/u/94514?v=4","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dimagi/commcare-hq","description":"CommCare HQ is CommCare's server component to design, manage, and deploy mobile applications to front line workers.","fork":false,"url":"https://api.github.com/repos/dimagi/commcare-hq","forks_url":"https://api.github.com/repos/dimagi/commcare-hq/forks","keys_url":"https://api.github.com/repos/dimagi/commcare-hq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimagi/commcare-hq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimagi/commcare-hq/teams","hooks_url":"https://api.github.com/repos/dimagi/commcare-hq/hooks","issue_events_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/events{/number}","events_url":"https://api.github.com/repos/dimagi/commcare-hq/events","assignees_url":"https://api.github.com/repos/dimagi/commcare-hq/assignees{/user}","branches_url":"https://api.github.com/repos/dimagi/commcare-hq/branches{/branch}","tags_url":"https://api.github.com/repos/dimagi/commcare-hq/tags","blobs_url":"https://api.github.com/repos/dimagi/commcare-hq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimagi/commcare-hq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimagi/commcare-hq/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimagi/commcare-hq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimagi/commcare-hq/statuses/{sha}","languages_url":"https://api.github.com/repos/dimagi/commcare-hq/languages","stargazers_url":"https://api.github.com/repos/dimagi/commcare-hq/stargazers","contributors_url":"https://api.github.com/repos/dimagi/commcare-hq/contributors","subscribers_url":"https://api.github.com/repos/dimagi/commcare-hq/subscribers","subscription_url":"https://api.github.com/repos/dimagi/commcare-hq/subscription","commits_url":"https://api.github.com/repos/dimagi/commcare-hq/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimagi/commcare-hq/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimagi/commcare-hq/contents/{+path}","compare_url":"https://api.github.com/repos/dimagi/commcare-hq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimagi/commcare-hq/merges","archive_url":"https://api.github.com/repos/dimagi/commcare-hq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimagi/commcare-hq/downloads","issues_url":"https://api.github.com/repos/dimagi/commcare-hq/issues{/number}","pulls_url":"https://api.github.com/repos/dimagi/commcare-hq/pulls{/number}","milestones_url":"https://api.github.com/repos/dimagi/commcare-hq/milestones{/number}","notifications_url":"https://api.github.com/repos/dimagi/commcare-hq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimagi/commcare-hq/labels{/name}","releases_url":"https://api.github.com/repos/dimagi/commcare-hq/releases{/id}","deployments_url":"https://api.github.com/repos/dimagi/commcare-hq/deployments","created_at":"2009-07-09T17:00:07Z","updated_at":"2019-12-11T12:08:18Z","pushed_at":"2019-12-11T12:38:49Z","git_url":"git://github.com/dimagi/commcare-hq.git","ssh_url":"git@github.com:dimagi/commcare-hq.git","clone_url":"https://github.com/dimagi/commcare-hq.git","svn_url":"https://github.com/dimagi/commcare-hq","homepage":"https://www.commcarehq.org","size":512501,"stargazers_count":371,"watchers_count":371,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":147,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":118,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":147,"open_issues":118,"watchers":371,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/26181"},"html":{"href":"https://github.com/dimagi/commcare-hq/pull/26181"},"issue":{"href":"https://api.github.com/repos/dimagi/commcare-hq/issues/26181"},"comments":{"href":"https://api.github.com/repos/dimagi/commcare-hq/issues/26181/comments"},"review_comments":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/26181/comments"},"review_comment":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/26181/commits"},"statuses":{"href":"https://api.github.com/repos/dimagi/commcare-hq/statuses/a6c1344811d5f577abf861adccef7d598ca343fa"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"stickler-ci"}}