{"action":"created","comment":{"url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/comments/89787511","pull_request_review_id":10321362,"id":89787511,"diff_hunk":"@@ -20,6 +20,12 @@\n from .docs_resolv import embed_code_links\n from .downloads import generate_zipfiles\n \n+try:\n+    FileNotFoundError\n+except NameError:\n+    # Python2\n+    FileNotFoundError = IOError","path":"sphinx_gallery/gen_gallery.py","position":8,"original_position":8,"commit_id":"0fc9c49fada91d87e58e64b23296c383ad4ea2ce","original_commit_id":"0fc9c49fada91d87e58e64b23296c383ad4ea2ce","user":{"login":"lesteve","id":1680079,"avatar_url":"https://avatars.githubusercontent.com/u/1680079?v=3","gravatar_id":"","url":"https://api.github.com/users/lesteve","html_url":"https://github.com/lesteve","followers_url":"https://api.github.com/users/lesteve/followers","following_url":"https://api.github.com/users/lesteve/following{/other_user}","gists_url":"https://api.github.com/users/lesteve/gists{/gist_id}","starred_url":"https://api.github.com/users/lesteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesteve/subscriptions","organizations_url":"https://api.github.com/users/lesteve/orgs","repos_url":"https://api.github.com/users/lesteve/repos","events_url":"https://api.github.com/users/lesteve/events{/privacy}","received_events_url":"https://api.github.com/users/lesteve/received_events","type":"User","site_admin":false},"body":"\r\n\r\nI forgot to tell you when I saw that in a different PR but this is a slightly WTF. Just raise IOError this way you don't have to do a Python2/3 dance.\r\n","created_at":"2016-11-28T14:12:44Z","updated_at":"2016-11-28T14:12:44Z","html_url":"https://github.com/sphinx-gallery/sphinx-gallery/pull/175#discussion_r89787511","pull_request_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/175","_links":{"self":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/comments/89787511"},"html":{"href":"https://github.com/sphinx-gallery/sphinx-gallery/pull/175#discussion_r89787511"},"pull_request":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/175"}}},"pull_request":{"url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/175","id":95418945,"html_url":"https://github.com/sphinx-gallery/sphinx-gallery/pull/175","diff_url":"https://github.com/sphinx-gallery/sphinx-gallery/pull/175.diff","patch_url":"https://github.com/sphinx-gallery/sphinx-gallery/pull/175.patch","issue_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/175","number":175,"state":"open","locked":false,"title":"Fix readme bugs","user":{"login":"Titan-C","id":713451,"avatar_url":"https://avatars.githubusercontent.com/u/713451?v=3","gravatar_id":"","url":"https://api.github.com/users/Titan-C","html_url":"https://github.com/Titan-C","followers_url":"https://api.github.com/users/Titan-C/followers","following_url":"https://api.github.com/users/Titan-C/following{/other_user}","gists_url":"https://api.github.com/users/Titan-C/gists{/gist_id}","starred_url":"https://api.github.com/users/Titan-C/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Titan-C/subscriptions","organizations_url":"https://api.github.com/users/Titan-C/orgs","repos_url":"https://api.github.com/users/Titan-C/repos","events_url":"https://api.github.com/users/Titan-C/events{/privacy}","received_events_url":"https://api.github.com/users/Titan-C/received_events","type":"User","site_admin":false},"body":"This are simple fixes to issues #164 and #165 ","created_at":"2016-11-27T22:14:14Z","updated_at":"2016-11-28T14:12:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba0c1886bb058bca77e8d0c012b6a1803d92d37c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/175/commits","review_comments_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/175/comments","review_comment_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/175/comments","statuses_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/statuses/0fc9c49fada91d87e58e64b23296c383ad4ea2ce","head":{"label":"Titan-C:fix_readme_bugs","ref":"fix_readme_bugs","sha":"0fc9c49fada91d87e58e64b23296c383ad4ea2ce","user":{"login":"Titan-C","id":713451,"avatar_url":"https://avatars.githubusercontent.com/u/713451?v=3","gravatar_id":"","url":"https://api.github.com/users/Titan-C","html_url":"https://github.com/Titan-C","followers_url":"https://api.github.com/users/Titan-C/followers","following_url":"https://api.github.com/users/Titan-C/following{/other_user}","gists_url":"https://api.github.com/users/Titan-C/gists{/gist_id}","starred_url":"https://api.github.com/users/Titan-C/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Titan-C/subscriptions","organizations_url":"https://api.github.com/users/Titan-C/orgs","repos_url":"https://api.github.com/users/Titan-C/repos","events_url":"https://api.github.com/users/Titan-C/events{/privacy}","received_events_url":"https://api.github.com/users/Titan-C/received_events","type":"User","site_admin":false},"repo":{"id":26191147,"name":"sphinx-gallery","full_name":"Titan-C/sphinx-gallery","owner":{"login":"Titan-C","id":713451,"avatar_url":"https://avatars.githubusercontent.com/u/713451?v=3","gravatar_id":"","url":"https://api.github.com/users/Titan-C","html_url":"https://github.com/Titan-C","followers_url":"https://api.github.com/users/Titan-C/followers","following_url":"https://api.github.com/users/Titan-C/following{/other_user}","gists_url":"https://api.github.com/users/Titan-C/gists{/gist_id}","starred_url":"https://api.github.com/users/Titan-C/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Titan-C/subscriptions","organizations_url":"https://api.github.com/users/Titan-C/orgs","repos_url":"https://api.github.com/users/Titan-C/repos","events_url":"https://api.github.com/users/Titan-C/events{/privacy}","received_events_url":"https://api.github.com/users/Titan-C/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Titan-C/sphinx-gallery","description":"Sphinx extension for automatic generation of an example gallery","fork":true,"url":"https://api.github.com/repos/Titan-C/sphinx-gallery","forks_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/forks","keys_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/teams","hooks_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/hooks","issue_events_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/issues/events{/number}","events_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/events","assignees_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/assignees{/user}","branches_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/branches{/branch}","tags_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/tags","blobs_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/statuses/{sha}","languages_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/languages","stargazers_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/stargazers","contributors_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/contributors","subscribers_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/subscribers","subscription_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/subscription","commits_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/contents/{+path}","compare_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/merges","archive_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/downloads","issues_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/issues{/number}","pulls_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/pulls{/number}","milestones_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/milestones{/number}","notifications_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/labels{/name}","releases_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/releases{/id}","deployments_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/deployments","created_at":"2014-11-04T22:13:32Z","updated_at":"2016-01-14T21:43:00Z","pushed_at":"2016-11-28T14:12:22Z","git_url":"git://github.com/Titan-C/sphinx-gallery.git","ssh_url":"git@github.com:Titan-C/sphinx-gallery.git","clone_url":"https://github.com/Titan-C/sphinx-gallery.git","svn_url":"https://github.com/Titan-C/sphinx-gallery","homepage":null,"size":785,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"sphinx-gallery:master","ref":"master","sha":"f1e089fdc8fa732043f1d72b42ecbe872e47e130","user":{"login":"sphinx-gallery","id":9541799,"avatar_url":"https://avatars.githubusercontent.com/u/9541799?v=3","gravatar_id":"","url":"https://api.github.com/users/sphinx-gallery","html_url":"https://github.com/sphinx-gallery","followers_url":"https://api.github.com/users/sphinx-gallery/followers","following_url":"https://api.github.com/users/sphinx-gallery/following{/other_user}","gists_url":"https://api.github.com/users/sphinx-gallery/gists{/gist_id}","starred_url":"https://api.github.com/users/sphinx-gallery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphinx-gallery/subscriptions","organizations_url":"https://api.github.com/users/sphinx-gallery/orgs","repos_url":"https://api.github.com/users/sphinx-gallery/repos","events_url":"https://api.github.com/users/sphinx-gallery/events{/privacy}","received_events_url":"https://api.github.com/users/sphinx-gallery/received_events","type":"Organization","site_admin":false},"repo":{"id":25860190,"name":"sphinx-gallery","full_name":"sphinx-gallery/sphinx-gallery","owner":{"login":"sphinx-gallery","id":9541799,"avatar_url":"https://avatars.githubusercontent.com/u/9541799?v=3","gravatar_id":"","url":"https://api.github.com/users/sphinx-gallery","html_url":"https://github.com/sphinx-gallery","followers_url":"https://api.github.com/users/sphinx-gallery/followers","following_url":"https://api.github.com/users/sphinx-gallery/following{/other_user}","gists_url":"https://api.github.com/users/sphinx-gallery/gists{/gist_id}","starred_url":"https://api.github.com/users/sphinx-gallery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphinx-gallery/subscriptions","organizations_url":"https://api.github.com/users/sphinx-gallery/orgs","repos_url":"https://api.github.com/users/sphinx-gallery/repos","events_url":"https://api.github.com/users/sphinx-gallery/events{/privacy}","received_events_url":"https://api.github.com/users/sphinx-gallery/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sphinx-gallery/sphinx-gallery","description":"Sphinx extension for automatic generation of an example gallery","fork":false,"url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery","forks_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/forks","keys_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/teams","hooks_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/hooks","issue_events_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/events{/number}","events_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/events","assignees_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/assignees{/user}","branches_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/branches{/branch}","tags_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/tags","blobs_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/statuses/{sha}","languages_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/languages","stargazers_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/stargazers","contributors_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/contributors","subscribers_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/subscribers","subscription_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/subscription","commits_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/contents/{+path}","compare_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/merges","archive_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/downloads","issues_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues{/number}","pulls_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls{/number}","milestones_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/milestones{/number}","notifications_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/labels{/name}","releases_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/releases{/id}","deployments_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/deployments","created_at":"2014-10-28T08:41:46Z","updated_at":"2016-11-03T13:43:21Z","pushed_at":"2016-11-28T14:12:22Z","git_url":"git://github.com/sphinx-gallery/sphinx-gallery.git","ssh_url":"git@github.com:sphinx-gallery/sphinx-gallery.git","clone_url":"https://github.com/sphinx-gallery/sphinx-gallery.git","svn_url":"https://github.com/sphinx-gallery/sphinx-gallery","homepage":"http://sphinx-gallery.readthedocs.io","size":899,"stargazers_count":44,"watchers_count":44,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":32,"forks":22,"open_issues":32,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/175"},"html":{"href":"https://github.com/sphinx-gallery/sphinx-gallery/pull/175"},"issue":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/175"},"comments":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/175/comments"},"review_comments":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/175/comments"},"review_comment":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/175/commits"},"statuses":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/statuses/0fc9c49fada91d87e58e64b23296c383ad4ea2ce"}}}}
{"actor":{"display_login":"lesteve"}}