{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/performanceplatform-admin/pulls/comments/28962709","id":28962709,"diff_hunk":"@@ -84,7 +131,27 @@ def channel_options(admin_client, uuid):\n         if True in form.data.values():","path":"application/controllers/digital_take_up.py","position":71,"original_position":71,"commit_id":"97fef732c9f10d85dd7bf5a6c4e1107f31af9ace","original_commit_id":"97fef732c9f10d85dd7bf5a6c4e1107f31af9ace","user":{"login":"mattrco","id":207735,"avatar_url":"https://avatars.githubusercontent.com/u/207735?v=3","gravatar_id":"","url":"https://api.github.com/users/mattrco","html_url":"https://github.com/mattrco","followers_url":"https://api.github.com/users/mattrco/followers","following_url":"https://api.github.com/users/mattrco/following{/other_user}","gists_url":"https://api.github.com/users/mattrco/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrco/subscriptions","organizations_url":"https://api.github.com/users/mattrco/orgs","repos_url":"https://api.github.com/users/mattrco/repos","events_url":"https://api.github.com/users/mattrco/events{/privacy}","received_events_url":"https://api.github.com/users/mattrco/received_events","type":"User","site_admin":false},"body":"I think you could replace this with `if form.data.values()` because `bool(['thing'])` will evaluate to True.","created_at":"2015-04-23T13:40:16Z","updated_at":"2015-04-23T13:40:16Z","html_url":"https://github.com/alphagov/performanceplatform-admin/pull/108#discussion_r28962709","pull_request_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/pulls/108","_links":{"self":{"href":"https://api.github.com/repos/alphagov/performanceplatform-admin/pulls/comments/28962709"},"html":{"href":"https://github.com/alphagov/performanceplatform-admin/pull/108#discussion_r28962709"},"pull_request":{"href":"https://api.github.com/repos/alphagov/performanceplatform-admin/pulls/108"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/performanceplatform-admin/pulls/108","id":33873113,"html_url":"https://github.com/alphagov/performanceplatform-admin/pull/108","diff_url":"https://github.com/alphagov/performanceplatform-admin/pull/108.diff","patch_url":"https://github.com/alphagov/performanceplatform-admin/pull/108.patch","issue_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/issues/108","number":108,"state":"open","locked":false,"title":"Upload data for the digital take-up module.","user":{"login":"leenagupte","id":5793815,"avatar_url":"https://avatars.githubusercontent.com/u/5793815?v=3","gravatar_id":"","url":"https://api.github.com/users/leenagupte","html_url":"https://github.com/leenagupte","followers_url":"https://api.github.com/users/leenagupte/followers","following_url":"https://api.github.com/users/leenagupte/following{/other_user}","gists_url":"https://api.github.com/users/leenagupte/gists{/gist_id}","starred_url":"https://api.github.com/users/leenagupte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leenagupte/subscriptions","organizations_url":"https://api.github.com/users/leenagupte/orgs","repos_url":"https://api.github.com/users/leenagupte/repos","events_url":"https://api.github.com/users/leenagupte/events{/privacy}","received_events_url":"https://api.github.com/users/leenagupte/received_events","type":"User","site_admin":false},"body":"Create a digital take up module if it doesn't exist.\r\nCreate a data group, data set and transform if they don't exist\r\n\r\nReuses the existing upload spreadsheet functionality.\r\n\r\nDisplay website to the user in the checkbox channel choices,\r\nbut the spreadsheet contains a channel named digital as this is the\r\ncurrent way data is uploaded to backdrop","created_at":"2015-04-22T15:58:53Z","updated_at":"2015-04-23T13:40:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e531c55e76472565181389dc6be4d99c9fe5b82a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/pulls/108/commits","review_comments_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/pulls/108/comments","review_comment_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/issues/108/comments","statuses_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/statuses/97fef732c9f10d85dd7bf5a6c4e1107f31af9ace","head":{"label":"alphagov:add-digital-takeup-module","ref":"add-digital-takeup-module","sha":"97fef732c9f10d85dd7bf5a6c4e1107f31af9ace","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":21730553,"name":"performanceplatform-admin","full_name":"alphagov/performanceplatform-admin","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/performanceplatform-admin","description":"A Flask app to let authorised users update performance data on GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/performanceplatform-admin","forks_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/forks","keys_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/teams","hooks_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/hooks","issue_events_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/events","assignees_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/tags","blobs_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/languages","stargazers_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/stargazers","contributors_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/contributors","subscribers_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/subscribers","subscription_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/subscription","commits_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/merges","archive_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/downloads","issues_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/releases{/id}","created_at":"2014-07-11T09:33:07Z","updated_at":"2015-04-23T13:30:15Z","pushed_at":"2015-04-23T13:37:20Z","git_url":"git://github.com/alphagov/performanceplatform-admin.git","ssh_url":"git@github.com:alphagov/performanceplatform-admin.git","clone_url":"https://github.com/alphagov/performanceplatform-admin.git","svn_url":"https://github.com/alphagov/performanceplatform-admin","homepage":null,"size":4010,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"a6e39919fa2021f50a198485d2030c7431cf02ef","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":21730553,"name":"performanceplatform-admin","full_name":"alphagov/performanceplatform-admin","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/performanceplatform-admin","description":"A Flask app to let authorised users update performance data on GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/performanceplatform-admin","forks_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/forks","keys_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/teams","hooks_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/hooks","issue_events_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/events","assignees_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/tags","blobs_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/languages","stargazers_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/stargazers","contributors_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/contributors","subscribers_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/subscribers","subscription_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/subscription","commits_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/merges","archive_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/downloads","issues_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/performanceplatform-admin/releases{/id}","created_at":"2014-07-11T09:33:07Z","updated_at":"2015-04-23T13:30:15Z","pushed_at":"2015-04-23T13:37:20Z","git_url":"git://github.com/alphagov/performanceplatform-admin.git","ssh_url":"git@github.com:alphagov/performanceplatform-admin.git","clone_url":"https://github.com/alphagov/performanceplatform-admin.git","svn_url":"https://github.com/alphagov/performanceplatform-admin","homepage":null,"size":4010,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/performanceplatform-admin/pulls/108"},"html":{"href":"https://github.com/alphagov/performanceplatform-admin/pull/108"},"issue":{"href":"https://api.github.com/repos/alphagov/performanceplatform-admin/issues/108"},"comments":{"href":"https://api.github.com/repos/alphagov/performanceplatform-admin/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/performanceplatform-admin/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/performanceplatform-admin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/performanceplatform-admin/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/performanceplatform-admin/statuses/97fef732c9f10d85dd7bf5a6c4e1107f31af9ace"}}}}