{"action":"opened","number":336,"pull_request":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/336","id":78561298,"html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/336","diff_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/336.diff","patch_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/336.patch","issue_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/336","number":336,"state":"open","locked":false,"title":"Fix \"NameError: global name 'log' is not defined\"","user":{"login":"haykuro","id":1214821,"avatar_url":"https://avatars.githubusercontent.com/u/1214821?v=3","gravatar_id":"","url":"https://api.github.com/users/haykuro","html_url":"https://github.com/haykuro","followers_url":"https://api.github.com/users/haykuro/followers","following_url":"https://api.github.com/users/haykuro/following{/other_user}","gists_url":"https://api.github.com/users/haykuro/gists{/gist_id}","starred_url":"https://api.github.com/users/haykuro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haykuro/subscriptions","organizations_url":"https://api.github.com/users/haykuro/orgs","repos_url":"https://api.github.com/users/haykuro/repos","events_url":"https://api.github.com/users/haykuro/events{/privacy}","received_events_url":"https://api.github.com/users/haykuro/received_events","type":"User","site_admin":false},"body":"Short Description: \r\n\r\nFixes:\r\n```\r\nTraceback (most recent call last):\r\n  File \"pokecli.py\", line 121, in <module>\r\n    main()\r\n  File \"pokecli.py\", line 100, in main\r\n    config = init_config()\r\n  File \"pokecli.py\", line 87, in init_config\r\n    log.error(\"Invalid Auth service specified! ('ptc' or 'google')\")\r\nNameError: global name 'log' is not defined\r\n```\r\n\r\nInstead, it properly calls `logging.log`:\r\n\r\n```\r\nERROR:root:Invalid Auth service specified! ('ptc' or 'google')\r\n```\r\n","created_at":"2016-07-23T02:57:58Z","updated_at":"2016-07-23T02:57:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50597000511d1d9e9b2949f9094aba48cd5bf269","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/336/commits","review_comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/336/comments","review_comment_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/336/comments","statuses_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/statuses/2da9e4d876dee49133385f2f0706bb2bd918a256","head":{"label":"haykuro:feature/dev-fix-invalidauth-crash","ref":"feature/dev-fix-invalidauth-crash","sha":"2da9e4d876dee49133385f2f0706bb2bd918a256","user":{"login":"haykuro","id":1214821,"avatar_url":"https://avatars.githubusercontent.com/u/1214821?v=3","gravatar_id":"","url":"https://api.github.com/users/haykuro","html_url":"https://github.com/haykuro","followers_url":"https://api.github.com/users/haykuro/followers","following_url":"https://api.github.com/users/haykuro/following{/other_user}","gists_url":"https://api.github.com/users/haykuro/gists{/gist_id}","starred_url":"https://api.github.com/users/haykuro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haykuro/subscriptions","organizations_url":"https://api.github.com/users/haykuro/orgs","repos_url":"https://api.github.com/users/haykuro/repos","events_url":"https://api.github.com/users/haykuro/events{/privacy}","received_events_url":"https://api.github.com/users/haykuro/received_events","type":"User","site_admin":false},"repo":{"id":63924751,"name":"PokemonGo-Bot","full_name":"haykuro/PokemonGo-Bot","owner":{"login":"haykuro","id":1214821,"avatar_url":"https://avatars.githubusercontent.com/u/1214821?v=3","gravatar_id":"","url":"https://api.github.com/users/haykuro","html_url":"https://github.com/haykuro","followers_url":"https://api.github.com/users/haykuro/followers","following_url":"https://api.github.com/users/haykuro/following{/other_user}","gists_url":"https://api.github.com/users/haykuro/gists{/gist_id}","starred_url":"https://api.github.com/users/haykuro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haykuro/subscriptions","organizations_url":"https://api.github.com/users/haykuro/orgs","repos_url":"https://api.github.com/users/haykuro/repos","events_url":"https://api.github.com/users/haykuro/events{/privacy}","received_events_url":"https://api.github.com/users/haykuro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haykuro/PokemonGo-Bot","description":"The Pokemon Go Bot script, baking with community.","fork":true,"url":"https://api.github.com/repos/haykuro/PokemonGo-Bot","forks_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/forks","keys_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/teams","hooks_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/hooks","issue_events_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/issues/events{/number}","events_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/events","assignees_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/assignees{/user}","branches_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/branches{/branch}","tags_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/tags","blobs_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/statuses/{sha}","languages_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/languages","stargazers_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/stargazers","contributors_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/contributors","subscribers_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/subscribers","subscription_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/subscription","commits_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/contents/{+path}","compare_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/merges","archive_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/downloads","issues_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/issues{/number}","pulls_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/pulls{/number}","milestones_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/milestones{/number}","notifications_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/labels{/name}","releases_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/releases{/id}","deployments_url":"https://api.github.com/repos/haykuro/PokemonGo-Bot/deployments","created_at":"2016-07-22T04:58:40Z","updated_at":"2016-07-22T04:58:42Z","pushed_at":"2016-07-23T02:52:22Z","git_url":"git://github.com/haykuro/PokemonGo-Bot.git","ssh_url":"git@github.com:haykuro/PokemonGo-Bot.git","clone_url":"https://github.com/haykuro/PokemonGo-Bot.git","svn_url":"https://github.com/haykuro/PokemonGo-Bot","homepage":"","size":843,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"PokemonGoF:dev","ref":"dev","sha":"cf3a9c3c8dc37d3440403c0d3885474a93462d1a","user":{"login":"PokemonGoF","id":20551204,"avatar_url":"https://avatars.githubusercontent.com/u/20551204?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoF","html_url":"https://github.com/PokemonGoF","followers_url":"https://api.github.com/users/PokemonGoF/followers","following_url":"https://api.github.com/users/PokemonGoF/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoF/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoF/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoF/orgs","repos_url":"https://api.github.com/users/PokemonGoF/repos","events_url":"https://api.github.com/users/PokemonGoF/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoF/received_events","type":"Organization","site_admin":false},"repo":{"id":63752974,"name":"PokemonGo-Bot","full_name":"PokemonGoF/PokemonGo-Bot","owner":{"login":"PokemonGoF","id":20551204,"avatar_url":"https://avatars.githubusercontent.com/u/20551204?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoF","html_url":"https://github.com/PokemonGoF","followers_url":"https://api.github.com/users/PokemonGoF/followers","following_url":"https://api.github.com/users/PokemonGoF/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoF/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoF/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoF/orgs","repos_url":"https://api.github.com/users/PokemonGoF/repos","events_url":"https://api.github.com/users/PokemonGoF/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoF/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PokemonGoF/PokemonGo-Bot","description":"The Pokemon Go Bot script, baking with community.","fork":false,"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot","forks_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/forks","keys_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/teams","hooks_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/hooks","issue_events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/events{/number}","events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/events","assignees_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/assignees{/user}","branches_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/branches{/branch}","tags_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/tags","blobs_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/statuses/{sha}","languages_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/languages","stargazers_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/stargazers","contributors_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/contributors","subscribers_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/subscribers","subscription_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/subscription","commits_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/contents/{+path}","compare_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/merges","archive_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/downloads","issues_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues{/number}","pulls_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls{/number}","milestones_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/milestones{/number}","notifications_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/labels{/name}","releases_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/releases{/id}","deployments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/deployments","created_at":"2016-07-20T05:31:53Z","updated_at":"2016-07-23T02:53:17Z","pushed_at":"2016-07-23T02:57:59Z","git_url":"git://github.com/PokemonGoF/PokemonGo-Bot.git","ssh_url":"git@github.com:PokemonGoF/PokemonGo-Bot.git","clone_url":"https://github.com/PokemonGoF/PokemonGo-Bot.git","svn_url":"https://github.com/PokemonGoF/PokemonGo-Bot","homepage":"","size":1212,"stargazers_count":377,"watchers_count":377,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":163,"mirror_url":null,"open_issues_count":73,"forks":163,"open_issues":73,"watchers":377,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/336"},"html":{"href":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/336"},"issue":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/336"},"comments":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/336/comments"},"review_comments":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/336/comments"},"review_comment":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/336/commits"},"statuses":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/statuses/2da9e4d876dee49133385f2f0706bb2bd918a256"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"haykuro"}}