{"action":"created","comment":{"url":"https://api.github.com/repos/plotly/IPython-plotly/pulls/comments/27611741","id":27611741,"diff_hunk":"@@ -37,7 +37,8 @@ def img_alt(img_src, img_i):\n # Remove title\n def remove_title(body):\n     H1 = body.findAll('h1')  # TODO check 'h2' also?\n-    H1[0].extract()\n+    if H1:","path":"_makescripts/publish.py","position":5,"original_position":5,"commit_id":"dd3e0ad53c9042d432192da283e81a257aef5ef7","original_commit_id":"dd3e0ad53c9042d432192da283e81a257aef5ef7","user":{"login":"etpinard","id":6675409,"avatar_url":"https://avatars.githubusercontent.com/u/6675409?v=3","gravatar_id":"","url":"https://api.github.com/users/etpinard","html_url":"https://github.com/etpinard","followers_url":"https://api.github.com/users/etpinard/followers","following_url":"https://api.github.com/users/etpinard/following{/other_user}","gists_url":"https://api.github.com/users/etpinard/gists{/gist_id}","starred_url":"https://api.github.com/users/etpinard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etpinard/subscriptions","organizations_url":"https://api.github.com/users/etpinard/orgs","repos_url":"https://api.github.com/users/etpinard/repos","events_url":"https://api.github.com/users/etpinard/events{/privacy}","received_events_url":"https://api.github.com/users/etpinard/received_events","type":"User","site_admin":false},"body":"Nice catch. Thank you very much.","created_at":"2015-04-01T21:07:01Z","updated_at":"2015-04-01T21:07:01Z","html_url":"https://github.com/plotly/IPython-plotly/pull/22#discussion_r27611741","pull_request_url":"https://api.github.com/repos/plotly/IPython-plotly/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/plotly/IPython-plotly/pulls/comments/27611741"},"html":{"href":"https://github.com/plotly/IPython-plotly/pull/22#discussion_r27611741"},"pull_request":{"href":"https://api.github.com/repos/plotly/IPython-plotly/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/plotly/IPython-plotly/pulls/22","id":32460084,"html_url":"https://github.com/plotly/IPython-plotly/pull/22","diff_url":"https://github.com/plotly/IPython-plotly/pull/22.diff","patch_url":"https://github.com/plotly/IPython-plotly/pull/22.patch","issue_url":"https://api.github.com/repos/plotly/IPython-plotly/issues/22","number":22,"state":"open","locked":false,"title":"Fix for publishing issue","user":{"login":"anabranch","id":1642503,"avatar_url":"https://avatars.githubusercontent.com/u/1642503?v=3","gravatar_id":"","url":"https://api.github.com/users/anabranch","html_url":"https://github.com/anabranch","followers_url":"https://api.github.com/users/anabranch/followers","following_url":"https://api.github.com/users/anabranch/following{/other_user}","gists_url":"https://api.github.com/users/anabranch/gists{/gist_id}","starred_url":"https://api.github.com/users/anabranch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anabranch/subscriptions","organizations_url":"https://api.github.com/users/anabranch/orgs","repos_url":"https://api.github.com/users/anabranch/repos","events_url":"https://api.github.com/users/anabranch/events{/privacy}","received_events_url":"https://api.github.com/users/anabranch/received_events","type":"User","site_admin":false},"body":"Fixes the contributing & publishing problem featured in issue #21 ","created_at":"2015-04-01T20:57:58Z","updated_at":"2015-04-01T21:07:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef78bb867bf60dc7e15c883a5cb9aae92b0cb79c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/plotly/IPython-plotly/pulls/22/commits","review_comments_url":"https://api.github.com/repos/plotly/IPython-plotly/pulls/22/comments","review_comment_url":"https://api.github.com/repos/plotly/IPython-plotly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/plotly/IPython-plotly/issues/22/comments","statuses_url":"https://api.github.com/repos/plotly/IPython-plotly/statuses/dd3e0ad53c9042d432192da283e81a257aef5ef7","head":{"label":"anabranch:publish_fix","ref":"publish_fix","sha":"dd3e0ad53c9042d432192da283e81a257aef5ef7","user":{"login":"anabranch","id":1642503,"avatar_url":"https://avatars.githubusercontent.com/u/1642503?v=3","gravatar_id":"","url":"https://api.github.com/users/anabranch","html_url":"https://github.com/anabranch","followers_url":"https://api.github.com/users/anabranch/followers","following_url":"https://api.github.com/users/anabranch/following{/other_user}","gists_url":"https://api.github.com/users/anabranch/gists{/gist_id}","starred_url":"https://api.github.com/users/anabranch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anabranch/subscriptions","organizations_url":"https://api.github.com/users/anabranch/orgs","repos_url":"https://api.github.com/users/anabranch/repos","events_url":"https://api.github.com/users/anabranch/events{/privacy}","received_events_url":"https://api.github.com/users/anabranch/received_events","type":"User","site_admin":false},"repo":{"id":32491314,"name":"IPython-plotly","full_name":"anabranch/IPython-plotly","owner":{"login":"anabranch","id":1642503,"avatar_url":"https://avatars.githubusercontent.com/u/1642503?v=3","gravatar_id":"","url":"https://api.github.com/users/anabranch","html_url":"https://github.com/anabranch","followers_url":"https://api.github.com/users/anabranch/followers","following_url":"https://api.github.com/users/anabranch/following{/other_user}","gists_url":"https://api.github.com/users/anabranch/gists{/gist_id}","starred_url":"https://api.github.com/users/anabranch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anabranch/subscriptions","organizations_url":"https://api.github.com/users/anabranch/orgs","repos_url":"https://api.github.com/users/anabranch/repos","events_url":"https://api.github.com/users/anabranch/events{/privacy}","received_events_url":"https://api.github.com/users/anabranch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anabranch/IPython-plotly","description":"A collection of IPython notebooks that feature Plotly graphs. Content moved to https://plotl.ly/ipython-notebooks/","fork":true,"url":"https://api.github.com/repos/anabranch/IPython-plotly","forks_url":"https://api.github.com/repos/anabranch/IPython-plotly/forks","keys_url":"https://api.github.com/repos/anabranch/IPython-plotly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anabranch/IPython-plotly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anabranch/IPython-plotly/teams","hooks_url":"https://api.github.com/repos/anabranch/IPython-plotly/hooks","issue_events_url":"https://api.github.com/repos/anabranch/IPython-plotly/issues/events{/number}","events_url":"https://api.github.com/repos/anabranch/IPython-plotly/events","assignees_url":"https://api.github.com/repos/anabranch/IPython-plotly/assignees{/user}","branches_url":"https://api.github.com/repos/anabranch/IPython-plotly/branches{/branch}","tags_url":"https://api.github.com/repos/anabranch/IPython-plotly/tags","blobs_url":"https://api.github.com/repos/anabranch/IPython-plotly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anabranch/IPython-plotly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anabranch/IPython-plotly/git/refs{/sha}","trees_url":"https://api.github.com/repos/anabranch/IPython-plotly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anabranch/IPython-plotly/statuses/{sha}","languages_url":"https://api.github.com/repos/anabranch/IPython-plotly/languages","stargazers_url":"https://api.github.com/repos/anabranch/IPython-plotly/stargazers","contributors_url":"https://api.github.com/repos/anabranch/IPython-plotly/contributors","subscribers_url":"https://api.github.com/repos/anabranch/IPython-plotly/subscribers","subscription_url":"https://api.github.com/repos/anabranch/IPython-plotly/subscription","commits_url":"https://api.github.com/repos/anabranch/IPython-plotly/commits{/sha}","git_commits_url":"https://api.github.com/repos/anabranch/IPython-plotly/git/commits{/sha}","comments_url":"https://api.github.com/repos/anabranch/IPython-plotly/comments{/number}","issue_comment_url":"https://api.github.com/repos/anabranch/IPython-plotly/issues/comments{/number}","contents_url":"https://api.github.com/repos/anabranch/IPython-plotly/contents/{+path}","compare_url":"https://api.github.com/repos/anabranch/IPython-plotly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anabranch/IPython-plotly/merges","archive_url":"https://api.github.com/repos/anabranch/IPython-plotly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anabranch/IPython-plotly/downloads","issues_url":"https://api.github.com/repos/anabranch/IPython-plotly/issues{/number}","pulls_url":"https://api.github.com/repos/anabranch/IPython-plotly/pulls{/number}","milestones_url":"https://api.github.com/repos/anabranch/IPython-plotly/milestones{/number}","notifications_url":"https://api.github.com/repos/anabranch/IPython-plotly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anabranch/IPython-plotly/labels{/name}","releases_url":"https://api.github.com/repos/anabranch/IPython-plotly/releases{/id}","created_at":"2015-03-19T00:10:00Z","updated_at":"2015-04-01T20:53:01Z","pushed_at":"2015-04-01T20:55:19Z","git_url":"git://github.com/anabranch/IPython-plotly.git","ssh_url":"git@github.com:anabranch/IPython-plotly.git","clone_url":"https://github.com/anabranch/IPython-plotly.git","svn_url":"https://github.com/anabranch/IPython-plotly","homepage":"https://plot.ly/ipython-notebooks/","size":5681,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"plotly:master","ref":"master","sha":"a8fe4f63a59b13d8c6e9da834ebdb66381846161","user":{"login":"plotly","id":5997976,"avatar_url":"https://avatars.githubusercontent.com/u/5997976?v=3","gravatar_id":"","url":"https://api.github.com/users/plotly","html_url":"https://github.com/plotly","followers_url":"https://api.github.com/users/plotly/followers","following_url":"https://api.github.com/users/plotly/following{/other_user}","gists_url":"https://api.github.com/users/plotly/gists{/gist_id}","starred_url":"https://api.github.com/users/plotly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plotly/subscriptions","organizations_url":"https://api.github.com/users/plotly/orgs","repos_url":"https://api.github.com/users/plotly/repos","events_url":"https://api.github.com/users/plotly/events{/privacy}","received_events_url":"https://api.github.com/users/plotly/received_events","type":"Organization","site_admin":false},"repo":{"id":14664548,"name":"IPython-plotly","full_name":"plotly/IPython-plotly","owner":{"login":"plotly","id":5997976,"avatar_url":"https://avatars.githubusercontent.com/u/5997976?v=3","gravatar_id":"","url":"https://api.github.com/users/plotly","html_url":"https://github.com/plotly","followers_url":"https://api.github.com/users/plotly/followers","following_url":"https://api.github.com/users/plotly/following{/other_user}","gists_url":"https://api.github.com/users/plotly/gists{/gist_id}","starred_url":"https://api.github.com/users/plotly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plotly/subscriptions","organizations_url":"https://api.github.com/users/plotly/orgs","repos_url":"https://api.github.com/users/plotly/repos","events_url":"https://api.github.com/users/plotly/events{/privacy}","received_events_url":"https://api.github.com/users/plotly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plotly/IPython-plotly","description":"A collection of data science IPython notebooks with Plotly graphs","fork":false,"url":"https://api.github.com/repos/plotly/IPython-plotly","forks_url":"https://api.github.com/repos/plotly/IPython-plotly/forks","keys_url":"https://api.github.com/repos/plotly/IPython-plotly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plotly/IPython-plotly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plotly/IPython-plotly/teams","hooks_url":"https://api.github.com/repos/plotly/IPython-plotly/hooks","issue_events_url":"https://api.github.com/repos/plotly/IPython-plotly/issues/events{/number}","events_url":"https://api.github.com/repos/plotly/IPython-plotly/events","assignees_url":"https://api.github.com/repos/plotly/IPython-plotly/assignees{/user}","branches_url":"https://api.github.com/repos/plotly/IPython-plotly/branches{/branch}","tags_url":"https://api.github.com/repos/plotly/IPython-plotly/tags","blobs_url":"https://api.github.com/repos/plotly/IPython-plotly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plotly/IPython-plotly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plotly/IPython-plotly/git/refs{/sha}","trees_url":"https://api.github.com/repos/plotly/IPython-plotly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plotly/IPython-plotly/statuses/{sha}","languages_url":"https://api.github.com/repos/plotly/IPython-plotly/languages","stargazers_url":"https://api.github.com/repos/plotly/IPython-plotly/stargazers","contributors_url":"https://api.github.com/repos/plotly/IPython-plotly/contributors","subscribers_url":"https://api.github.com/repos/plotly/IPython-plotly/subscribers","subscription_url":"https://api.github.com/repos/plotly/IPython-plotly/subscription","commits_url":"https://api.github.com/repos/plotly/IPython-plotly/commits{/sha}","git_commits_url":"https://api.github.com/repos/plotly/IPython-plotly/git/commits{/sha}","comments_url":"https://api.github.com/repos/plotly/IPython-plotly/comments{/number}","issue_comment_url":"https://api.github.com/repos/plotly/IPython-plotly/issues/comments{/number}","contents_url":"https://api.github.com/repos/plotly/IPython-plotly/contents/{+path}","compare_url":"https://api.github.com/repos/plotly/IPython-plotly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plotly/IPython-plotly/merges","archive_url":"https://api.github.com/repos/plotly/IPython-plotly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plotly/IPython-plotly/downloads","issues_url":"https://api.github.com/repos/plotly/IPython-plotly/issues{/number}","pulls_url":"https://api.github.com/repos/plotly/IPython-plotly/pulls{/number}","milestones_url":"https://api.github.com/repos/plotly/IPython-plotly/milestones{/number}","notifications_url":"https://api.github.com/repos/plotly/IPython-plotly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plotly/IPython-plotly/labels{/name}","releases_url":"https://api.github.com/repos/plotly/IPython-plotly/releases{/id}","created_at":"2013-11-24T16:29:35Z","updated_at":"2015-04-01T04:55:50Z","pushed_at":"2015-04-01T20:57:58Z","git_url":"git://github.com/plotly/IPython-plotly.git","ssh_url":"git@github.com:plotly/IPython-plotly.git","clone_url":"https://github.com/plotly/IPython-plotly.git","svn_url":"https://github.com/plotly/IPython-plotly","homepage":"https://plot.ly/ipython-notebooks/","size":6151,"stargazers_count":78,"watchers_count":78,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":5,"forks":31,"open_issues":5,"watchers":78,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/plotly/IPython-plotly/pulls/22"},"html":{"href":"https://github.com/plotly/IPython-plotly/pull/22"},"issue":{"href":"https://api.github.com/repos/plotly/IPython-plotly/issues/22"},"comments":{"href":"https://api.github.com/repos/plotly/IPython-plotly/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/plotly/IPython-plotly/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/plotly/IPython-plotly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/plotly/IPython-plotly/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/plotly/IPython-plotly/statuses/dd3e0ad53c9042d432192da283e81a257aef5ef7"}}}}