{"action":"created","comment":{"url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/pulls/comments/40073388","id":40073388,"diff_hunk":"@@ -249,6 +249,7 @@ def request(\n             raise GraphAPIError(response)\n \n         headers = response.headers\n+        result = {}","path":"facebook/__init__.py","position":4,"original_position":4,"commit_id":"d134d1182eae3efbdf5bad5c6bb2a69cf89c86e7","original_commit_id":"d134d1182eae3efbdf5bad5c6bb2a69cf89c86e7","user":{"login":"saloua-cliqz","id":6086810,"avatar_url":"https://avatars.githubusercontent.com/u/6086810?v=3","gravatar_id":"","url":"https://api.github.com/users/saloua-cliqz","html_url":"https://github.com/saloua-cliqz","followers_url":"https://api.github.com/users/saloua-cliqz/followers","following_url":"https://api.github.com/users/saloua-cliqz/following{/other_user}","gists_url":"https://api.github.com/users/saloua-cliqz/gists{/gist_id}","starred_url":"https://api.github.com/users/saloua-cliqz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saloua-cliqz/subscriptions","organizations_url":"https://api.github.com/users/saloua-cliqz/orgs","repos_url":"https://api.github.com/users/saloua-cliqz/repos","events_url":"https://api.github.com/users/saloua-cliqz/events{/privacy}","received_events_url":"https://api.github.com/users/saloua-cliqz/received_events","type":"User","site_admin":false},"body":"No it is not necessary.\r\nThat was added in order to have `result`  declaration/scope in the function body.","created_at":"2015-09-22T10:58:03Z","updated_at":"2015-09-22T10:58:03Z","html_url":"https://github.com/pythonforfacebook/facebook-sdk/pull/240#discussion_r40073388","pull_request_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/pulls/240","_links":{"self":{"href":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/pulls/comments/40073388"},"html":{"href":"https://github.com/pythonforfacebook/facebook-sdk/pull/240#discussion_r40073388"},"pull_request":{"href":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/pulls/240"}}},"pull_request":{"url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/pulls/240","id":45642209,"html_url":"https://github.com/pythonforfacebook/facebook-sdk/pull/240","diff_url":"https://github.com/pythonforfacebook/facebook-sdk/pull/240.diff","patch_url":"https://github.com/pythonforfacebook/facebook-sdk/pull/240.patch","issue_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/issues/240","number":240,"state":"open","locked":false,"title":"Fix Getting error type","user":{"login":"tuxos","id":3774492,"avatar_url":"https://avatars.githubusercontent.com/u/3774492?v=3","gravatar_id":"","url":"https://api.github.com/users/tuxos","html_url":"https://github.com/tuxos","followers_url":"https://api.github.com/users/tuxos/followers","following_url":"https://api.github.com/users/tuxos/following{/other_user}","gists_url":"https://api.github.com/users/tuxos/gists{/gist_id}","starred_url":"https://api.github.com/users/tuxos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuxos/subscriptions","organizations_url":"https://api.github.com/users/tuxos/orgs","repos_url":"https://api.github.com/users/tuxos/repos","events_url":"https://api.github.com/users/tuxos/events{/privacy}","received_events_url":"https://api.github.com/users/tuxos/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-22T09:26:03Z","updated_at":"2015-09-22T10:58:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e8547049d100103bc6187eddfd7d946132cc058","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/pulls/240/commits","review_comments_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/pulls/240/comments","review_comment_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/issues/240/comments","statuses_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/statuses/d134d1182eae3efbdf5bad5c6bb2a69cf89c86e7","head":{"label":"tuxos:master","ref":"master","sha":"d134d1182eae3efbdf5bad5c6bb2a69cf89c86e7","user":{"login":"tuxos","id":3774492,"avatar_url":"https://avatars.githubusercontent.com/u/3774492?v=3","gravatar_id":"","url":"https://api.github.com/users/tuxos","html_url":"https://github.com/tuxos","followers_url":"https://api.github.com/users/tuxos/followers","following_url":"https://api.github.com/users/tuxos/following{/other_user}","gists_url":"https://api.github.com/users/tuxos/gists{/gist_id}","starred_url":"https://api.github.com/users/tuxos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuxos/subscriptions","organizations_url":"https://api.github.com/users/tuxos/orgs","repos_url":"https://api.github.com/users/tuxos/repos","events_url":"https://api.github.com/users/tuxos/events{/privacy}","received_events_url":"https://api.github.com/users/tuxos/received_events","type":"User","site_admin":false},"repo":{"id":42656400,"name":"facebook-sdk","full_name":"tuxos/facebook-sdk","owner":{"login":"tuxos","id":3774492,"avatar_url":"https://avatars.githubusercontent.com/u/3774492?v=3","gravatar_id":"","url":"https://api.github.com/users/tuxos","html_url":"https://github.com/tuxos","followers_url":"https://api.github.com/users/tuxos/followers","following_url":"https://api.github.com/users/tuxos/following{/other_user}","gists_url":"https://api.github.com/users/tuxos/gists{/gist_id}","starred_url":"https://api.github.com/users/tuxos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuxos/subscriptions","organizations_url":"https://api.github.com/users/tuxos/orgs","repos_url":"https://api.github.com/users/tuxos/repos","events_url":"https://api.github.com/users/tuxos/events{/privacy}","received_events_url":"https://api.github.com/users/tuxos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tuxos/facebook-sdk","description":"Facebook Platform Python SDK","fork":true,"url":"https://api.github.com/repos/tuxos/facebook-sdk","forks_url":"https://api.github.com/repos/tuxos/facebook-sdk/forks","keys_url":"https://api.github.com/repos/tuxos/facebook-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tuxos/facebook-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tuxos/facebook-sdk/teams","hooks_url":"https://api.github.com/repos/tuxos/facebook-sdk/hooks","issue_events_url":"https://api.github.com/repos/tuxos/facebook-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/tuxos/facebook-sdk/events","assignees_url":"https://api.github.com/repos/tuxos/facebook-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/tuxos/facebook-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/tuxos/facebook-sdk/tags","blobs_url":"https://api.github.com/repos/tuxos/facebook-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tuxos/facebook-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tuxos/facebook-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/tuxos/facebook-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tuxos/facebook-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/tuxos/facebook-sdk/languages","stargazers_url":"https://api.github.com/repos/tuxos/facebook-sdk/stargazers","contributors_url":"https://api.github.com/repos/tuxos/facebook-sdk/contributors","subscribers_url":"https://api.github.com/repos/tuxos/facebook-sdk/subscribers","subscription_url":"https://api.github.com/repos/tuxos/facebook-sdk/subscription","commits_url":"https://api.github.com/repos/tuxos/facebook-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/tuxos/facebook-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/tuxos/facebook-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/tuxos/facebook-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/tuxos/facebook-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/tuxos/facebook-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tuxos/facebook-sdk/merges","archive_url":"https://api.github.com/repos/tuxos/facebook-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tuxos/facebook-sdk/downloads","issues_url":"https://api.github.com/repos/tuxos/facebook-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/tuxos/facebook-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/tuxos/facebook-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/tuxos/facebook-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tuxos/facebook-sdk/labels{/name}","releases_url":"https://api.github.com/repos/tuxos/facebook-sdk/releases{/id}","created_at":"2015-09-17T13:00:34Z","updated_at":"2015-09-17T13:00:36Z","pushed_at":"2015-09-22T09:23:33Z","git_url":"git://github.com/tuxos/facebook-sdk.git","ssh_url":"git@github.com:tuxos/facebook-sdk.git","clone_url":"https://github.com/tuxos/facebook-sdk.git","svn_url":"https://github.com/tuxos/facebook-sdk","homepage":"http://facebook-sdk.readthedocs.org/","size":1024,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"pythonforfacebook:master","ref":"master","sha":"55c0329b5f9ee8e3f8e916f1754633d8b254c18c","user":{"login":"pythonforfacebook","id":781523,"avatar_url":"https://avatars.githubusercontent.com/u/781523?v=3","gravatar_id":"","url":"https://api.github.com/users/pythonforfacebook","html_url":"https://github.com/pythonforfacebook","followers_url":"https://api.github.com/users/pythonforfacebook/followers","following_url":"https://api.github.com/users/pythonforfacebook/following{/other_user}","gists_url":"https://api.github.com/users/pythonforfacebook/gists{/gist_id}","starred_url":"https://api.github.com/users/pythonforfacebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pythonforfacebook/subscriptions","organizations_url":"https://api.github.com/users/pythonforfacebook/orgs","repos_url":"https://api.github.com/users/pythonforfacebook/repos","events_url":"https://api.github.com/users/pythonforfacebook/events{/privacy}","received_events_url":"https://api.github.com/users/pythonforfacebook/received_events","type":"Organization","site_admin":false},"repo":{"id":1733272,"name":"facebook-sdk","full_name":"pythonforfacebook/facebook-sdk","owner":{"login":"pythonforfacebook","id":781523,"avatar_url":"https://avatars.githubusercontent.com/u/781523?v=3","gravatar_id":"","url":"https://api.github.com/users/pythonforfacebook","html_url":"https://github.com/pythonforfacebook","followers_url":"https://api.github.com/users/pythonforfacebook/followers","following_url":"https://api.github.com/users/pythonforfacebook/following{/other_user}","gists_url":"https://api.github.com/users/pythonforfacebook/gists{/gist_id}","starred_url":"https://api.github.com/users/pythonforfacebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pythonforfacebook/subscriptions","organizations_url":"https://api.github.com/users/pythonforfacebook/orgs","repos_url":"https://api.github.com/users/pythonforfacebook/repos","events_url":"https://api.github.com/users/pythonforfacebook/events{/privacy}","received_events_url":"https://api.github.com/users/pythonforfacebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pythonforfacebook/facebook-sdk","description":"Facebook Platform Python SDK","fork":false,"url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk","forks_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/forks","keys_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/teams","hooks_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/hooks","issue_events_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/events","assignees_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/tags","blobs_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/languages","stargazers_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/stargazers","contributors_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/contributors","subscribers_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/subscribers","subscription_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/subscription","commits_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/merges","archive_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/downloads","issues_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/labels{/name}","releases_url":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/releases{/id}","created_at":"2011-05-11T13:38:27Z","updated_at":"2015-09-21T22:08:57Z","pushed_at":"2015-09-22T09:59:38Z","git_url":"git://github.com/pythonforfacebook/facebook-sdk.git","ssh_url":"git@github.com:pythonforfacebook/facebook-sdk.git","clone_url":"https://github.com/pythonforfacebook/facebook-sdk.git","svn_url":"https://github.com/pythonforfacebook/facebook-sdk","homepage":"http://facebook-sdk.readthedocs.org/","size":1009,"stargazers_count":1455,"watchers_count":1455,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":529,"mirror_url":null,"open_issues_count":21,"forks":529,"open_issues":21,"watchers":1455,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/pulls/240"},"html":{"href":"https://github.com/pythonforfacebook/facebook-sdk/pull/240"},"issue":{"href":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/issues/240"},"comments":{"href":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/issues/240/comments"},"review_comments":{"href":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/pulls/240/comments"},"review_comment":{"href":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/pulls/240/commits"},"statuses":{"href":"https://api.github.com/repos/pythonforfacebook/facebook-sdk/statuses/d134d1182eae3efbdf5bad5c6bb2a69cf89c86e7"}}}}