{"action":"created","comment":{"url":"https://api.github.com/repos/okfn/ckanext-issues/pulls/comments/32288884","id":32288884,"diff_hunk":"@@ -95,9 +95,10 @@ def issues_enabled(dataset):\n             return True\n     else:\n         extras = dataset.get('extras')","path":"ckanext/issues/lib/helpers.py","position":3,"original_position":3,"commit_id":"8774043494a8ccd3462283604d9208faa0ac146a","original_commit_id":"8774043494a8ccd3462283604d9208faa0ac146a","user":{"login":"deniszgonjanin","id":209316,"avatar_url":"https://avatars.githubusercontent.com/u/209316?v=3","gravatar_id":"","url":"https://api.github.com/users/deniszgonjanin","html_url":"https://github.com/deniszgonjanin","followers_url":"https://api.github.com/users/deniszgonjanin/followers","following_url":"https://api.github.com/users/deniszgonjanin/following{/other_user}","gists_url":"https://api.github.com/users/deniszgonjanin/gists{/gist_id}","starred_url":"https://api.github.com/users/deniszgonjanin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deniszgonjanin/subscriptions","organizations_url":"https://api.github.com/users/deniszgonjanin/orgs","repos_url":"https://api.github.com/users/deniszgonjanin/repos","events_url":"https://api.github.com/users/deniszgonjanin/events{/privacy}","received_events_url":"https://api.github.com/users/deniszgonjanin/received_events","type":"User","site_admin":false},"body":"Wish I saw your PR earlier, would have saved me some time. You can fix this a bit more concisely and with less nesting: https://github.com/deniszgonjanin/ckanext-issues/commit/47e2aa0c3c0695f314daa4243b9c2219d63b63f1","created_at":"2015-06-12T03:57:00Z","updated_at":"2015-06-12T03:57:00Z","html_url":"https://github.com/okfn/ckanext-issues/pull/30#discussion_r32288884","pull_request_url":"https://api.github.com/repos/okfn/ckanext-issues/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/okfn/ckanext-issues/pulls/comments/32288884"},"html":{"href":"https://github.com/okfn/ckanext-issues/pull/30#discussion_r32288884"},"pull_request":{"href":"https://api.github.com/repos/okfn/ckanext-issues/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/okfn/ckanext-issues/pulls/30","id":35505846,"html_url":"https://github.com/okfn/ckanext-issues/pull/30","diff_url":"https://github.com/okfn/ckanext-issues/pull/30.diff","patch_url":"https://github.com/okfn/ckanext-issues/pull/30.patch","issue_url":"https://api.github.com/repos/okfn/ckanext-issues/issues/30","number":30,"state":"open","locked":false,"title":"Fixes #29: Checking that package's extras is not None before iteratin…","user":{"login":"acorbi","id":384894,"avatar_url":"https://avatars.githubusercontent.com/u/384894?v=3","gravatar_id":"","url":"https://api.github.com/users/acorbi","html_url":"https://github.com/acorbi","followers_url":"https://api.github.com/users/acorbi/followers","following_url":"https://api.github.com/users/acorbi/following{/other_user}","gists_url":"https://api.github.com/users/acorbi/gists{/gist_id}","starred_url":"https://api.github.com/users/acorbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acorbi/subscriptions","organizations_url":"https://api.github.com/users/acorbi/orgs","repos_url":"https://api.github.com/users/acorbi/repos","events_url":"https://api.github.com/users/acorbi/events{/privacy}","received_events_url":"https://api.github.com/users/acorbi/received_events","type":"User","site_admin":false},"body":"…g through them","created_at":"2015-05-15T11:38:31Z","updated_at":"2015-06-12T03:57:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b2909ebe6f1a9bc94aea094ca4516091616e36b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/okfn/ckanext-issues/pulls/30/commits","review_comments_url":"https://api.github.com/repos/okfn/ckanext-issues/pulls/30/comments","review_comment_url":"https://api.github.com/repos/okfn/ckanext-issues/pulls/comments{/number}","comments_url":"https://api.github.com/repos/okfn/ckanext-issues/issues/30/comments","statuses_url":"https://api.github.com/repos/okfn/ckanext-issues/statuses/8774043494a8ccd3462283604d9208faa0ac146a","head":{"label":"OpenDevelopmentMekong:master","ref":"master","sha":"8774043494a8ccd3462283604d9208faa0ac146a","user":{"login":"OpenDevelopmentMekong","id":6611659,"avatar_url":"https://avatars.githubusercontent.com/u/6611659?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenDevelopmentMekong","html_url":"https://github.com/OpenDevelopmentMekong","followers_url":"https://api.github.com/users/OpenDevelopmentMekong/followers","following_url":"https://api.github.com/users/OpenDevelopmentMekong/following{/other_user}","gists_url":"https://api.github.com/users/OpenDevelopmentMekong/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenDevelopmentMekong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenDevelopmentMekong/subscriptions","organizations_url":"https://api.github.com/users/OpenDevelopmentMekong/orgs","repos_url":"https://api.github.com/users/OpenDevelopmentMekong/repos","events_url":"https://api.github.com/users/OpenDevelopmentMekong/events{/privacy}","received_events_url":"https://api.github.com/users/OpenDevelopmentMekong/received_events","type":"Organization","site_admin":false},"repo":{"id":35670202,"name":"ckanext-issues","full_name":"OpenDevelopmentMekong/ckanext-issues","owner":{"login":"OpenDevelopmentMekong","id":6611659,"avatar_url":"https://avatars.githubusercontent.com/u/6611659?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenDevelopmentMekong","html_url":"https://github.com/OpenDevelopmentMekong","followers_url":"https://api.github.com/users/OpenDevelopmentMekong/followers","following_url":"https://api.github.com/users/OpenDevelopmentMekong/following{/other_user}","gists_url":"https://api.github.com/users/OpenDevelopmentMekong/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenDevelopmentMekong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenDevelopmentMekong/subscriptions","organizations_url":"https://api.github.com/users/OpenDevelopmentMekong/orgs","repos_url":"https://api.github.com/users/OpenDevelopmentMekong/repos","events_url":"https://api.github.com/users/OpenDevelopmentMekong/events{/privacy}","received_events_url":"https://api.github.com/users/OpenDevelopmentMekong/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenDevelopmentMekong/ckanext-issues","description":"CKAN Issues Extension","fork":true,"url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues","forks_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/forks","keys_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/teams","hooks_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/hooks","issue_events_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/issues/events{/number}","events_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/events","assignees_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/assignees{/user}","branches_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/branches{/branch}","tags_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/tags","blobs_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/languages","stargazers_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/stargazers","contributors_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/contributors","subscribers_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/subscribers","subscription_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/subscription","commits_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/contents/{+path}","compare_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/merges","archive_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/downloads","issues_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/issues{/number}","pulls_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/labels{/name}","releases_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-issues/releases{/id}","created_at":"2015-05-15T11:19:22Z","updated_at":"2015-06-01T15:26:53Z","pushed_at":"2015-06-04T15:24:38Z","git_url":"git://github.com/OpenDevelopmentMekong/ckanext-issues.git","ssh_url":"git@github.com:OpenDevelopmentMekong/ckanext-issues.git","clone_url":"https://github.com/OpenDevelopmentMekong/ckanext-issues.git","svn_url":"https://github.com/OpenDevelopmentMekong/ckanext-issues","homepage":"https://github.com/ckan/ideas-and-roadmap/issues/4","size":578,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"okfn:master","ref":"master","sha":"d26214861dc5262f9632f55cd6a6851eca1dccfd","user":{"login":"okfn","id":304263,"avatar_url":"https://avatars.githubusercontent.com/u/304263?v=3","gravatar_id":"","url":"https://api.github.com/users/okfn","html_url":"https://github.com/okfn","followers_url":"https://api.github.com/users/okfn/followers","following_url":"https://api.github.com/users/okfn/following{/other_user}","gists_url":"https://api.github.com/users/okfn/gists{/gist_id}","starred_url":"https://api.github.com/users/okfn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okfn/subscriptions","organizations_url":"https://api.github.com/users/okfn/orgs","repos_url":"https://api.github.com/users/okfn/repos","events_url":"https://api.github.com/users/okfn/events{/privacy}","received_events_url":"https://api.github.com/users/okfn/received_events","type":"Organization","site_admin":false},"repo":{"id":1756987,"name":"ckanext-issues","full_name":"okfn/ckanext-issues","owner":{"login":"okfn","id":304263,"avatar_url":"https://avatars.githubusercontent.com/u/304263?v=3","gravatar_id":"","url":"https://api.github.com/users/okfn","html_url":"https://github.com/okfn","followers_url":"https://api.github.com/users/okfn/followers","following_url":"https://api.github.com/users/okfn/following{/other_user}","gists_url":"https://api.github.com/users/okfn/gists{/gist_id}","starred_url":"https://api.github.com/users/okfn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okfn/subscriptions","organizations_url":"https://api.github.com/users/okfn/orgs","repos_url":"https://api.github.com/users/okfn/repos","events_url":"https://api.github.com/users/okfn/events{/privacy}","received_events_url":"https://api.github.com/users/okfn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/okfn/ckanext-issues","description":"CKAN Issues Extension","fork":false,"url":"https://api.github.com/repos/okfn/ckanext-issues","forks_url":"https://api.github.com/repos/okfn/ckanext-issues/forks","keys_url":"https://api.github.com/repos/okfn/ckanext-issues/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okfn/ckanext-issues/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okfn/ckanext-issues/teams","hooks_url":"https://api.github.com/repos/okfn/ckanext-issues/hooks","issue_events_url":"https://api.github.com/repos/okfn/ckanext-issues/issues/events{/number}","events_url":"https://api.github.com/repos/okfn/ckanext-issues/events","assignees_url":"https://api.github.com/repos/okfn/ckanext-issues/assignees{/user}","branches_url":"https://api.github.com/repos/okfn/ckanext-issues/branches{/branch}","tags_url":"https://api.github.com/repos/okfn/ckanext-issues/tags","blobs_url":"https://api.github.com/repos/okfn/ckanext-issues/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okfn/ckanext-issues/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okfn/ckanext-issues/git/refs{/sha}","trees_url":"https://api.github.com/repos/okfn/ckanext-issues/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okfn/ckanext-issues/statuses/{sha}","languages_url":"https://api.github.com/repos/okfn/ckanext-issues/languages","stargazers_url":"https://api.github.com/repos/okfn/ckanext-issues/stargazers","contributors_url":"https://api.github.com/repos/okfn/ckanext-issues/contributors","subscribers_url":"https://api.github.com/repos/okfn/ckanext-issues/subscribers","subscription_url":"https://api.github.com/repos/okfn/ckanext-issues/subscription","commits_url":"https://api.github.com/repos/okfn/ckanext-issues/commits{/sha}","git_commits_url":"https://api.github.com/repos/okfn/ckanext-issues/git/commits{/sha}","comments_url":"https://api.github.com/repos/okfn/ckanext-issues/comments{/number}","issue_comment_url":"https://api.github.com/repos/okfn/ckanext-issues/issues/comments{/number}","contents_url":"https://api.github.com/repos/okfn/ckanext-issues/contents/{+path}","compare_url":"https://api.github.com/repos/okfn/ckanext-issues/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okfn/ckanext-issues/merges","archive_url":"https://api.github.com/repos/okfn/ckanext-issues/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okfn/ckanext-issues/downloads","issues_url":"https://api.github.com/repos/okfn/ckanext-issues/issues{/number}","pulls_url":"https://api.github.com/repos/okfn/ckanext-issues/pulls{/number}","milestones_url":"https://api.github.com/repos/okfn/ckanext-issues/milestones{/number}","notifications_url":"https://api.github.com/repos/okfn/ckanext-issues/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okfn/ckanext-issues/labels{/name}","releases_url":"https://api.github.com/repos/okfn/ckanext-issues/releases{/id}","created_at":"2011-05-16T18:54:58Z","updated_at":"2015-04-30T14:04:27Z","pushed_at":"2015-06-04T15:24:38Z","git_url":"git://github.com/okfn/ckanext-issues.git","ssh_url":"git@github.com:okfn/ckanext-issues.git","clone_url":"https://github.com/okfn/ckanext-issues.git","svn_url":"https://github.com/okfn/ckanext-issues","homepage":"https://github.com/ckan/ideas-and-roadmap/issues/4","size":916,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":14,"forks":6,"open_issues":14,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/okfn/ckanext-issues/pulls/30"},"html":{"href":"https://github.com/okfn/ckanext-issues/pull/30"},"issue":{"href":"https://api.github.com/repos/okfn/ckanext-issues/issues/30"},"comments":{"href":"https://api.github.com/repos/okfn/ckanext-issues/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/okfn/ckanext-issues/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/okfn/ckanext-issues/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/okfn/ckanext-issues/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/okfn/ckanext-issues/statuses/8774043494a8ccd3462283604d9208faa0ac146a"}}}}