{"action":"closed","number":19,"pull_request":{"url":"https://api.github.com/repos/ymichael/cprofilev/pulls/19","id":44480142,"html_url":"https://github.com/ymichael/cprofilev/pull/19","diff_url":"https://github.com/ymichael/cprofilev/pull/19.diff","patch_url":"https://github.com/ymichael/cprofilev/pull/19.patch","issue_url":"https://api.github.com/repos/ymichael/cprofilev/issues/19","number":19,"state":"closed","locked":false,"title":"Catch exception when compiling","user":{"login":"cburmeister","id":1633451,"avatar_url":"https://avatars.githubusercontent.com/u/1633451?v=3","gravatar_id":"","url":"https://api.github.com/users/cburmeister","html_url":"https://github.com/cburmeister","followers_url":"https://api.github.com/users/cburmeister/followers","following_url":"https://api.github.com/users/cburmeister/following{/other_user}","gists_url":"https://api.github.com/users/cburmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/cburmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cburmeister/subscriptions","organizations_url":"https://api.github.com/users/cburmeister/orgs","repos_url":"https://api.github.com/users/cburmeister/repos","events_url":"https://api.github.com/users/cburmeister/events{/privacy}","received_events_url":"https://api.github.com/users/cburmeister/received_events","type":"User","site_admin":false},"body":"This commit catches a possible TypeError and SyntaxError when attempting\r\nto compile a file that is not a python file. It outputs a friendly error\r\nbefore printing the rest of the scripts help documentation.\r\n\r\n> [cProfileV]: there was a problem compiling your scriptfile.","created_at":"2015-09-08T20:39:39Z","updated_at":"2015-12-17T07:24:48Z","closed_at":"2015-12-17T07:24:48Z","merged_at":"2015-12-17T07:24:48Z","merge_commit_sha":"5e452253499b693c573fcc3211a7a3db14fda3bc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ymichael/cprofilev/pulls/19/commits","review_comments_url":"https://api.github.com/repos/ymichael/cprofilev/pulls/19/comments","review_comment_url":"https://api.github.com/repos/ymichael/cprofilev/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ymichael/cprofilev/issues/19/comments","statuses_url":"https://api.github.com/repos/ymichael/cprofilev/statuses/a0b9823aa835df165a5d03c83f1f74ab63870312","head":{"label":"cburmeister:catch-exception-when-compiling","ref":"catch-exception-when-compiling","sha":"a0b9823aa835df165a5d03c83f1f74ab63870312","user":{"login":"cburmeister","id":1633451,"avatar_url":"https://avatars.githubusercontent.com/u/1633451?v=3","gravatar_id":"","url":"https://api.github.com/users/cburmeister","html_url":"https://github.com/cburmeister","followers_url":"https://api.github.com/users/cburmeister/followers","following_url":"https://api.github.com/users/cburmeister/following{/other_user}","gists_url":"https://api.github.com/users/cburmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/cburmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cburmeister/subscriptions","organizations_url":"https://api.github.com/users/cburmeister/orgs","repos_url":"https://api.github.com/users/cburmeister/repos","events_url":"https://api.github.com/users/cburmeister/events{/privacy}","received_events_url":"https://api.github.com/users/cburmeister/received_events","type":"User","site_admin":false},"repo":{"id":41831013,"name":"cprofilev","full_name":"cburmeister/cprofilev","owner":{"login":"cburmeister","id":1633451,"avatar_url":"https://avatars.githubusercontent.com/u/1633451?v=3","gravatar_id":"","url":"https://api.github.com/users/cburmeister","html_url":"https://github.com/cburmeister","followers_url":"https://api.github.com/users/cburmeister/followers","following_url":"https://api.github.com/users/cburmeister/following{/other_user}","gists_url":"https://api.github.com/users/cburmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/cburmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cburmeister/subscriptions","organizations_url":"https://api.github.com/users/cburmeister/orgs","repos_url":"https://api.github.com/users/cburmeister/repos","events_url":"https://api.github.com/users/cburmeister/events{/privacy}","received_events_url":"https://api.github.com/users/cburmeister/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cburmeister/cprofilev","description":"An easier way to use cProfile","fork":true,"url":"https://api.github.com/repos/cburmeister/cprofilev","forks_url":"https://api.github.com/repos/cburmeister/cprofilev/forks","keys_url":"https://api.github.com/repos/cburmeister/cprofilev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cburmeister/cprofilev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cburmeister/cprofilev/teams","hooks_url":"https://api.github.com/repos/cburmeister/cprofilev/hooks","issue_events_url":"https://api.github.com/repos/cburmeister/cprofilev/issues/events{/number}","events_url":"https://api.github.com/repos/cburmeister/cprofilev/events","assignees_url":"https://api.github.com/repos/cburmeister/cprofilev/assignees{/user}","branches_url":"https://api.github.com/repos/cburmeister/cprofilev/branches{/branch}","tags_url":"https://api.github.com/repos/cburmeister/cprofilev/tags","blobs_url":"https://api.github.com/repos/cburmeister/cprofilev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cburmeister/cprofilev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cburmeister/cprofilev/git/refs{/sha}","trees_url":"https://api.github.com/repos/cburmeister/cprofilev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cburmeister/cprofilev/statuses/{sha}","languages_url":"https://api.github.com/repos/cburmeister/cprofilev/languages","stargazers_url":"https://api.github.com/repos/cburmeister/cprofilev/stargazers","contributors_url":"https://api.github.com/repos/cburmeister/cprofilev/contributors","subscribers_url":"https://api.github.com/repos/cburmeister/cprofilev/subscribers","subscription_url":"https://api.github.com/repos/cburmeister/cprofilev/subscription","commits_url":"https://api.github.com/repos/cburmeister/cprofilev/commits{/sha}","git_commits_url":"https://api.github.com/repos/cburmeister/cprofilev/git/commits{/sha}","comments_url":"https://api.github.com/repos/cburmeister/cprofilev/comments{/number}","issue_comment_url":"https://api.github.com/repos/cburmeister/cprofilev/issues/comments{/number}","contents_url":"https://api.github.com/repos/cburmeister/cprofilev/contents/{+path}","compare_url":"https://api.github.com/repos/cburmeister/cprofilev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cburmeister/cprofilev/merges","archive_url":"https://api.github.com/repos/cburmeister/cprofilev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cburmeister/cprofilev/downloads","issues_url":"https://api.github.com/repos/cburmeister/cprofilev/issues{/number}","pulls_url":"https://api.github.com/repos/cburmeister/cprofilev/pulls{/number}","milestones_url":"https://api.github.com/repos/cburmeister/cprofilev/milestones{/number}","notifications_url":"https://api.github.com/repos/cburmeister/cprofilev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cburmeister/cprofilev/labels{/name}","releases_url":"https://api.github.com/repos/cburmeister/cprofilev/releases{/id}","created_at":"2015-09-02T22:33:27Z","updated_at":"2015-09-02T22:33:27Z","pushed_at":"2015-09-04T16:54:49Z","git_url":"git://github.com/cburmeister/cprofilev.git","ssh_url":"git@github.com:cburmeister/cprofilev.git","clone_url":"https://github.com/cburmeister/cprofilev.git","svn_url":"https://github.com/cburmeister/cprofilev","homepage":"https://pypi.python.org/pypi/CProfileV","size":117,"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":"ymichael:master","ref":"master","sha":"f344a99c0dee9845cd2c99f3483742a43905f454","user":{"login":"ymichael","id":610102,"avatar_url":"https://avatars.githubusercontent.com/u/610102?v=3","gravatar_id":"","url":"https://api.github.com/users/ymichael","html_url":"https://github.com/ymichael","followers_url":"https://api.github.com/users/ymichael/followers","following_url":"https://api.github.com/users/ymichael/following{/other_user}","gists_url":"https://api.github.com/users/ymichael/gists{/gist_id}","starred_url":"https://api.github.com/users/ymichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymichael/subscriptions","organizations_url":"https://api.github.com/users/ymichael/orgs","repos_url":"https://api.github.com/users/ymichael/repos","events_url":"https://api.github.com/users/ymichael/events{/privacy}","received_events_url":"https://api.github.com/users/ymichael/received_events","type":"User","site_admin":false},"repo":{"id":17466843,"name":"cprofilev","full_name":"ymichael/cprofilev","owner":{"login":"ymichael","id":610102,"avatar_url":"https://avatars.githubusercontent.com/u/610102?v=3","gravatar_id":"","url":"https://api.github.com/users/ymichael","html_url":"https://github.com/ymichael","followers_url":"https://api.github.com/users/ymichael/followers","following_url":"https://api.github.com/users/ymichael/following{/other_user}","gists_url":"https://api.github.com/users/ymichael/gists{/gist_id}","starred_url":"https://api.github.com/users/ymichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymichael/subscriptions","organizations_url":"https://api.github.com/users/ymichael/orgs","repos_url":"https://api.github.com/users/ymichael/repos","events_url":"https://api.github.com/users/ymichael/events{/privacy}","received_events_url":"https://api.github.com/users/ymichael/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ymichael/cprofilev","description":"An easier way to use cProfile","fork":false,"url":"https://api.github.com/repos/ymichael/cprofilev","forks_url":"https://api.github.com/repos/ymichael/cprofilev/forks","keys_url":"https://api.github.com/repos/ymichael/cprofilev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ymichael/cprofilev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ymichael/cprofilev/teams","hooks_url":"https://api.github.com/repos/ymichael/cprofilev/hooks","issue_events_url":"https://api.github.com/repos/ymichael/cprofilev/issues/events{/number}","events_url":"https://api.github.com/repos/ymichael/cprofilev/events","assignees_url":"https://api.github.com/repos/ymichael/cprofilev/assignees{/user}","branches_url":"https://api.github.com/repos/ymichael/cprofilev/branches{/branch}","tags_url":"https://api.github.com/repos/ymichael/cprofilev/tags","blobs_url":"https://api.github.com/repos/ymichael/cprofilev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ymichael/cprofilev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ymichael/cprofilev/git/refs{/sha}","trees_url":"https://api.github.com/repos/ymichael/cprofilev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ymichael/cprofilev/statuses/{sha}","languages_url":"https://api.github.com/repos/ymichael/cprofilev/languages","stargazers_url":"https://api.github.com/repos/ymichael/cprofilev/stargazers","contributors_url":"https://api.github.com/repos/ymichael/cprofilev/contributors","subscribers_url":"https://api.github.com/repos/ymichael/cprofilev/subscribers","subscription_url":"https://api.github.com/repos/ymichael/cprofilev/subscription","commits_url":"https://api.github.com/repos/ymichael/cprofilev/commits{/sha}","git_commits_url":"https://api.github.com/repos/ymichael/cprofilev/git/commits{/sha}","comments_url":"https://api.github.com/repos/ymichael/cprofilev/comments{/number}","issue_comment_url":"https://api.github.com/repos/ymichael/cprofilev/issues/comments{/number}","contents_url":"https://api.github.com/repos/ymichael/cprofilev/contents/{+path}","compare_url":"https://api.github.com/repos/ymichael/cprofilev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ymichael/cprofilev/merges","archive_url":"https://api.github.com/repos/ymichael/cprofilev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ymichael/cprofilev/downloads","issues_url":"https://api.github.com/repos/ymichael/cprofilev/issues{/number}","pulls_url":"https://api.github.com/repos/ymichael/cprofilev/pulls{/number}","milestones_url":"https://api.github.com/repos/ymichael/cprofilev/milestones{/number}","notifications_url":"https://api.github.com/repos/ymichael/cprofilev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ymichael/cprofilev/labels{/name}","releases_url":"https://api.github.com/repos/ymichael/cprofilev/releases{/id}","created_at":"2014-03-06T05:08:46Z","updated_at":"2015-12-17T02:20:38Z","pushed_at":"2015-12-17T07:24:48Z","git_url":"git://github.com/ymichael/cprofilev.git","ssh_url":"git@github.com:ymichael/cprofilev.git","clone_url":"https://github.com/ymichael/cprofilev.git","svn_url":"https://github.com/ymichael/cprofilev","homepage":"https://pypi.python.org/pypi/CProfileV","size":47,"stargazers_count":206,"watchers_count":206,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":6,"forks":20,"open_issues":6,"watchers":206,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ymichael/cprofilev/pulls/19"},"html":{"href":"https://github.com/ymichael/cprofilev/pull/19"},"issue":{"href":"https://api.github.com/repos/ymichael/cprofilev/issues/19"},"comments":{"href":"https://api.github.com/repos/ymichael/cprofilev/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/ymichael/cprofilev/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/ymichael/cprofilev/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ymichael/cprofilev/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/ymichael/cprofilev/statuses/a0b9823aa835df165a5d03c83f1f74ab63870312"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ymichael","id":610102,"avatar_url":"https://avatars.githubusercontent.com/u/610102?v=3","gravatar_id":"","url":"https://api.github.com/users/ymichael","html_url":"https://github.com/ymichael","followers_url":"https://api.github.com/users/ymichael/followers","following_url":"https://api.github.com/users/ymichael/following{/other_user}","gists_url":"https://api.github.com/users/ymichael/gists{/gist_id}","starred_url":"https://api.github.com/users/ymichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymichael/subscriptions","organizations_url":"https://api.github.com/users/ymichael/orgs","repos_url":"https://api.github.com/users/ymichael/repos","events_url":"https://api.github.com/users/ymichael/events{/privacy}","received_events_url":"https://api.github.com/users/ymichael/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":14,"deletions":5,"changed_files":1}}