{"action":"closed","number":1353,"pull_request":{"url":"https://api.github.com/repos/nltk/nltk/pulls/1353","id":64979970,"html_url":"https://github.com/nltk/nltk/pull/1353","diff_url":"https://github.com/nltk/nltk/pull/1353.diff","patch_url":"https://github.com/nltk/nltk/pull/1353.patch","issue_url":"https://api.github.com/repos/nltk/nltk/issues/1353","number":1353,"state":"closed","locked":false,"title":"Added a verification for empty tokens","user":{"login":"guivn","id":5693195,"avatar_url":"https://avatars.githubusercontent.com/u/5693195?v=3","gravatar_id":"","url":"https://api.github.com/users/guivn","html_url":"https://github.com/guivn","followers_url":"https://api.github.com/users/guivn/followers","following_url":"https://api.github.com/users/guivn/following{/other_user}","gists_url":"https://api.github.com/users/guivn/gists{/gist_id}","starred_url":"https://api.github.com/users/guivn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guivn/subscriptions","organizations_url":"https://api.github.com/users/guivn/orgs","repos_url":"https://api.github.com/users/guivn/repos","events_url":"https://api.github.com/users/guivn/events{/privacy}","received_events_url":"https://api.github.com/users/guivn/received_events","type":"User","site_admin":false},"body":"An empty token makes the classifier crash. I've ran into this issue multiple times and this simple if statement fixes that.","created_at":"2016-04-01T17:45:34Z","updated_at":"2016-04-01T21:28:09Z","closed_at":"2016-04-01T21:28:09Z","merged_at":"2016-04-01T21:28:09Z","merge_commit_sha":"145a7ce66fc924beab21f595095253157082c772","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nltk/nltk/pulls/1353/commits","review_comments_url":"https://api.github.com/repos/nltk/nltk/pulls/1353/comments","review_comment_url":"https://api.github.com/repos/nltk/nltk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nltk/nltk/issues/1353/comments","statuses_url":"https://api.github.com/repos/nltk/nltk/statuses/8af274b25a3a31126797dc376909837059a5f254","head":{"label":"guivn:patch-1","ref":"patch-1","sha":"8af274b25a3a31126797dc376909837059a5f254","user":{"login":"guivn","id":5693195,"avatar_url":"https://avatars.githubusercontent.com/u/5693195?v=3","gravatar_id":"","url":"https://api.github.com/users/guivn","html_url":"https://github.com/guivn","followers_url":"https://api.github.com/users/guivn/followers","following_url":"https://api.github.com/users/guivn/following{/other_user}","gists_url":"https://api.github.com/users/guivn/gists{/gist_id}","starred_url":"https://api.github.com/users/guivn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guivn/subscriptions","organizations_url":"https://api.github.com/users/guivn/orgs","repos_url":"https://api.github.com/users/guivn/repos","events_url":"https://api.github.com/users/guivn/events{/privacy}","received_events_url":"https://api.github.com/users/guivn/received_events","type":"User","site_admin":false},"repo":{"id":55250771,"name":"nltk","full_name":"guivn/nltk","owner":{"login":"guivn","id":5693195,"avatar_url":"https://avatars.githubusercontent.com/u/5693195?v=3","gravatar_id":"","url":"https://api.github.com/users/guivn","html_url":"https://github.com/guivn","followers_url":"https://api.github.com/users/guivn/followers","following_url":"https://api.github.com/users/guivn/following{/other_user}","gists_url":"https://api.github.com/users/guivn/gists{/gist_id}","starred_url":"https://api.github.com/users/guivn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guivn/subscriptions","organizations_url":"https://api.github.com/users/guivn/orgs","repos_url":"https://api.github.com/users/guivn/repos","events_url":"https://api.github.com/users/guivn/events{/privacy}","received_events_url":"https://api.github.com/users/guivn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/guivn/nltk","description":"NLTK Source","fork":true,"url":"https://api.github.com/repos/guivn/nltk","forks_url":"https://api.github.com/repos/guivn/nltk/forks","keys_url":"https://api.github.com/repos/guivn/nltk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guivn/nltk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guivn/nltk/teams","hooks_url":"https://api.github.com/repos/guivn/nltk/hooks","issue_events_url":"https://api.github.com/repos/guivn/nltk/issues/events{/number}","events_url":"https://api.github.com/repos/guivn/nltk/events","assignees_url":"https://api.github.com/repos/guivn/nltk/assignees{/user}","branches_url":"https://api.github.com/repos/guivn/nltk/branches{/branch}","tags_url":"https://api.github.com/repos/guivn/nltk/tags","blobs_url":"https://api.github.com/repos/guivn/nltk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guivn/nltk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guivn/nltk/git/refs{/sha}","trees_url":"https://api.github.com/repos/guivn/nltk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guivn/nltk/statuses/{sha}","languages_url":"https://api.github.com/repos/guivn/nltk/languages","stargazers_url":"https://api.github.com/repos/guivn/nltk/stargazers","contributors_url":"https://api.github.com/repos/guivn/nltk/contributors","subscribers_url":"https://api.github.com/repos/guivn/nltk/subscribers","subscription_url":"https://api.github.com/repos/guivn/nltk/subscription","commits_url":"https://api.github.com/repos/guivn/nltk/commits{/sha}","git_commits_url":"https://api.github.com/repos/guivn/nltk/git/commits{/sha}","comments_url":"https://api.github.com/repos/guivn/nltk/comments{/number}","issue_comment_url":"https://api.github.com/repos/guivn/nltk/issues/comments{/number}","contents_url":"https://api.github.com/repos/guivn/nltk/contents/{+path}","compare_url":"https://api.github.com/repos/guivn/nltk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guivn/nltk/merges","archive_url":"https://api.github.com/repos/guivn/nltk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guivn/nltk/downloads","issues_url":"https://api.github.com/repos/guivn/nltk/issues{/number}","pulls_url":"https://api.github.com/repos/guivn/nltk/pulls{/number}","milestones_url":"https://api.github.com/repos/guivn/nltk/milestones{/number}","notifications_url":"https://api.github.com/repos/guivn/nltk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guivn/nltk/labels{/name}","releases_url":"https://api.github.com/repos/guivn/nltk/releases{/id}","deployments_url":"https://api.github.com/repos/guivn/nltk/deployments","created_at":"2016-04-01T17:39:29Z","updated_at":"2016-04-01T17:39:32Z","pushed_at":"2016-04-01T17:43:20Z","git_url":"git://github.com/guivn/nltk.git","ssh_url":"git@github.com:guivn/nltk.git","clone_url":"https://github.com/guivn/nltk.git","svn_url":"https://github.com/guivn/nltk","homepage":"http://nltk.org/","size":75378,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"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":"develop"}},"base":{"label":"nltk:develop","ref":"develop","sha":"9ffc6405a6061047e84156bcfc325888d67686df","user":{"login":"nltk","id":124114,"avatar_url":"https://avatars.githubusercontent.com/u/124114?v=3","gravatar_id":"","url":"https://api.github.com/users/nltk","html_url":"https://github.com/nltk","followers_url":"https://api.github.com/users/nltk/followers","following_url":"https://api.github.com/users/nltk/following{/other_user}","gists_url":"https://api.github.com/users/nltk/gists{/gist_id}","starred_url":"https://api.github.com/users/nltk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nltk/subscriptions","organizations_url":"https://api.github.com/users/nltk/orgs","repos_url":"https://api.github.com/users/nltk/repos","events_url":"https://api.github.com/users/nltk/events{/privacy}","received_events_url":"https://api.github.com/users/nltk/received_events","type":"Organization","site_admin":false},"repo":{"id":299862,"name":"nltk","full_name":"nltk/nltk","owner":{"login":"nltk","id":124114,"avatar_url":"https://avatars.githubusercontent.com/u/124114?v=3","gravatar_id":"","url":"https://api.github.com/users/nltk","html_url":"https://github.com/nltk","followers_url":"https://api.github.com/users/nltk/followers","following_url":"https://api.github.com/users/nltk/following{/other_user}","gists_url":"https://api.github.com/users/nltk/gists{/gist_id}","starred_url":"https://api.github.com/users/nltk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nltk/subscriptions","organizations_url":"https://api.github.com/users/nltk/orgs","repos_url":"https://api.github.com/users/nltk/repos","events_url":"https://api.github.com/users/nltk/events{/privacy}","received_events_url":"https://api.github.com/users/nltk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nltk/nltk","description":"NLTK Source","fork":false,"url":"https://api.github.com/repos/nltk/nltk","forks_url":"https://api.github.com/repos/nltk/nltk/forks","keys_url":"https://api.github.com/repos/nltk/nltk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nltk/nltk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nltk/nltk/teams","hooks_url":"https://api.github.com/repos/nltk/nltk/hooks","issue_events_url":"https://api.github.com/repos/nltk/nltk/issues/events{/number}","events_url":"https://api.github.com/repos/nltk/nltk/events","assignees_url":"https://api.github.com/repos/nltk/nltk/assignees{/user}","branches_url":"https://api.github.com/repos/nltk/nltk/branches{/branch}","tags_url":"https://api.github.com/repos/nltk/nltk/tags","blobs_url":"https://api.github.com/repos/nltk/nltk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nltk/nltk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nltk/nltk/git/refs{/sha}","trees_url":"https://api.github.com/repos/nltk/nltk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nltk/nltk/statuses/{sha}","languages_url":"https://api.github.com/repos/nltk/nltk/languages","stargazers_url":"https://api.github.com/repos/nltk/nltk/stargazers","contributors_url":"https://api.github.com/repos/nltk/nltk/contributors","subscribers_url":"https://api.github.com/repos/nltk/nltk/subscribers","subscription_url":"https://api.github.com/repos/nltk/nltk/subscription","commits_url":"https://api.github.com/repos/nltk/nltk/commits{/sha}","git_commits_url":"https://api.github.com/repos/nltk/nltk/git/commits{/sha}","comments_url":"https://api.github.com/repos/nltk/nltk/comments{/number}","issue_comment_url":"https://api.github.com/repos/nltk/nltk/issues/comments{/number}","contents_url":"https://api.github.com/repos/nltk/nltk/contents/{+path}","compare_url":"https://api.github.com/repos/nltk/nltk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nltk/nltk/merges","archive_url":"https://api.github.com/repos/nltk/nltk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nltk/nltk/downloads","issues_url":"https://api.github.com/repos/nltk/nltk/issues{/number}","pulls_url":"https://api.github.com/repos/nltk/nltk/pulls{/number}","milestones_url":"https://api.github.com/repos/nltk/nltk/milestones{/number}","notifications_url":"https://api.github.com/repos/nltk/nltk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nltk/nltk/labels{/name}","releases_url":"https://api.github.com/repos/nltk/nltk/releases{/id}","deployments_url":"https://api.github.com/repos/nltk/nltk/deployments","created_at":"2009-09-07T10:53:58Z","updated_at":"2016-04-01T21:23:12Z","pushed_at":"2016-04-01T21:28:09Z","git_url":"git://github.com/nltk/nltk.git","ssh_url":"git@github.com:nltk/nltk.git","clone_url":"https://github.com/nltk/nltk.git","svn_url":"https://github.com/nltk/nltk","homepage":"http://nltk.org/","size":372966,"stargazers_count":3226,"watchers_count":3226,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":995,"mirror_url":null,"open_issues_count":287,"forks":995,"open_issues":287,"watchers":3226,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/nltk/nltk/pulls/1353"},"html":{"href":"https://github.com/nltk/nltk/pull/1353"},"issue":{"href":"https://api.github.com/repos/nltk/nltk/issues/1353"},"comments":{"href":"https://api.github.com/repos/nltk/nltk/issues/1353/comments"},"review_comments":{"href":"https://api.github.com/repos/nltk/nltk/pulls/1353/comments"},"review_comment":{"href":"https://api.github.com/repos/nltk/nltk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nltk/nltk/pulls/1353/commits"},"statuses":{"href":"https://api.github.com/repos/nltk/nltk/statuses/8af274b25a3a31126797dc376909837059a5f254"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"stevenbird","id":55406,"avatar_url":"https://avatars.githubusercontent.com/u/55406?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbird","html_url":"https://github.com/stevenbird","followers_url":"https://api.github.com/users/stevenbird/followers","following_url":"https://api.github.com/users/stevenbird/following{/other_user}","gists_url":"https://api.github.com/users/stevenbird/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbird/subscriptions","organizations_url":"https://api.github.com/users/stevenbird/orgs","repos_url":"https://api.github.com/users/stevenbird/repos","events_url":"https://api.github.com/users/stevenbird/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbird/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":1,"changed_files":1}}