{"action":"created","comment":{"url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/pulls/comments/110524017","pull_request_review_id":31706780,"id":110524017,"diff_hunk":"@@ -122,50 +122,36 @@ def print_production_lines():\n def print_verbose_lines():\n \tprint('Data has been moved, this view is unavailable for now')\n \treturn\n-\tdef _output_helper_prodlines(string, list):","path":"development/print_db_data.py","position":4,"original_position":4,"commit_id":"0f6dd1a457679956ab4cf04b136ea9930402cc8b","original_commit_id":"0f6dd1a457679956ab4cf04b136ea9930402cc8b","user":{"login":"MarkusHackspacher","id":1457863,"avatar_url":"https://avatars2.githubusercontent.com/u/1457863?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkusHackspacher","html_url":"https://github.com/MarkusHackspacher","followers_url":"https://api.github.com/users/MarkusHackspacher/followers","following_url":"https://api.github.com/users/MarkusHackspacher/following{/other_user}","gists_url":"https://api.github.com/users/MarkusHackspacher/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkusHackspacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkusHackspacher/subscriptions","organizations_url":"https://api.github.com/users/MarkusHackspacher/orgs","repos_url":"https://api.github.com/users/MarkusHackspacher/repos","events_url":"https://api.github.com/users/MarkusHackspacher/events{/privacy}","received_events_url":"https://api.github.com/users/MarkusHackspacher/received_events","type":"User","site_admin":false},"body":"When a function calls return , processing for that function stops and control is returned to the code that called the function. Any code that is placed after a return statement will never be executed. If any part of the program could potentially rely on this code, then the code must be moved to a location where it can be reached. If the code is unnecessary, then it should be removed, because extra code reduces readability.","created_at":"2017-04-08T18:10:06Z","updated_at":"2017-04-08T18:10:06Z","html_url":"https://github.com/unknown-horizons/unknown-horizons/pull/2628#discussion_r110524017","pull_request_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/pulls/2628","_links":{"self":{"href":"https://api.github.com/repos/unknown-horizons/unknown-horizons/pulls/comments/110524017"},"html":{"href":"https://github.com/unknown-horizons/unknown-horizons/pull/2628#discussion_r110524017"},"pull_request":{"href":"https://api.github.com/repos/unknown-horizons/unknown-horizons/pulls/2628"}}},"pull_request":{"url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/pulls/2628","id":108639005,"html_url":"https://github.com/unknown-horizons/unknown-horizons/pull/2628","diff_url":"https://github.com/unknown-horizons/unknown-horizons/pull/2628.diff","patch_url":"https://github.com/unknown-horizons/unknown-horizons/pull/2628.patch","issue_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/issues/2628","number":2628,"state":"open","locked":false,"title":"change to the `.format()` function","user":{"login":"MarkusHackspacher","id":1457863,"avatar_url":"https://avatars2.githubusercontent.com/u/1457863?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkusHackspacher","html_url":"https://github.com/MarkusHackspacher","followers_url":"https://api.github.com/users/MarkusHackspacher/followers","following_url":"https://api.github.com/users/MarkusHackspacher/following{/other_user}","gists_url":"https://api.github.com/users/MarkusHackspacher/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkusHackspacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkusHackspacher/subscriptions","organizations_url":"https://api.github.com/users/MarkusHackspacher/orgs","repos_url":"https://api.github.com/users/MarkusHackspacher/repos","events_url":"https://api.github.com/users/MarkusHackspacher/events{/privacy}","received_events_url":"https://api.github.com/users/MarkusHackspacher/received_events","type":"User","site_admin":false},"body":"Change to the .format() function in some file in the development/ directory.","created_at":"2017-03-01T22:03:41Z","updated_at":"2017-04-08T18:10:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7fe50cf328fe9f661891c0f176d2b05dbc5e643","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/pulls/2628/commits","review_comments_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/pulls/2628/comments","review_comment_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/issues/2628/comments","statuses_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/statuses/0f6dd1a457679956ab4cf04b136ea9930402cc8b","head":{"label":"MarkusHackspacher:format_style1","ref":"format_style1","sha":"0f6dd1a457679956ab4cf04b136ea9930402cc8b","user":{"login":"MarkusHackspacher","id":1457863,"avatar_url":"https://avatars2.githubusercontent.com/u/1457863?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkusHackspacher","html_url":"https://github.com/MarkusHackspacher","followers_url":"https://api.github.com/users/MarkusHackspacher/followers","following_url":"https://api.github.com/users/MarkusHackspacher/following{/other_user}","gists_url":"https://api.github.com/users/MarkusHackspacher/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkusHackspacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkusHackspacher/subscriptions","organizations_url":"https://api.github.com/users/MarkusHackspacher/orgs","repos_url":"https://api.github.com/users/MarkusHackspacher/repos","events_url":"https://api.github.com/users/MarkusHackspacher/events{/privacy}","received_events_url":"https://api.github.com/users/MarkusHackspacher/received_events","type":"User","site_admin":false},"repo":{"id":22783414,"name":"unknown-horizons","full_name":"MarkusHackspacher/unknown-horizons","owner":{"login":"MarkusHackspacher","id":1457863,"avatar_url":"https://avatars2.githubusercontent.com/u/1457863?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkusHackspacher","html_url":"https://github.com/MarkusHackspacher","followers_url":"https://api.github.com/users/MarkusHackspacher/followers","following_url":"https://api.github.com/users/MarkusHackspacher/following{/other_user}","gists_url":"https://api.github.com/users/MarkusHackspacher/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkusHackspacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkusHackspacher/subscriptions","organizations_url":"https://api.github.com/users/MarkusHackspacher/orgs","repos_url":"https://api.github.com/users/MarkusHackspacher/repos","events_url":"https://api.github.com/users/MarkusHackspacher/events{/privacy}","received_events_url":"https://api.github.com/users/MarkusHackspacher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MarkusHackspacher/unknown-horizons","description":"Unknown Horizons","fork":true,"url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons","forks_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/forks","keys_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/teams","hooks_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/hooks","issue_events_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/issues/events{/number}","events_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/events","assignees_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/assignees{/user}","branches_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/branches{/branch}","tags_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/tags","blobs_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/statuses/{sha}","languages_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/languages","stargazers_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/stargazers","contributors_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/contributors","subscribers_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/subscribers","subscription_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/subscription","commits_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/contents/{+path}","compare_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/merges","archive_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/downloads","issues_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/issues{/number}","pulls_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/pulls{/number}","milestones_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/milestones{/number}","notifications_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/labels{/name}","releases_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/releases{/id}","deployments_url":"https://api.github.com/repos/MarkusHackspacher/unknown-horizons/deployments","created_at":"2014-08-09T09:45:41Z","updated_at":"2016-10-23T20:48:53Z","pushed_at":"2017-04-06T11:28:06Z","git_url":"git://github.com/MarkusHackspacher/unknown-horizons.git","ssh_url":"git@github.com:MarkusHackspacher/unknown-horizons.git","clone_url":"https://github.com/MarkusHackspacher/unknown-horizons.git","svn_url":"https://github.com/MarkusHackspacher/unknown-horizons","homepage":"http://www.unknown-horizons.org","size":487831,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_projects":true,"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":1,"default_branch":"master"}},"base":{"label":"unknown-horizons:master","ref":"master","sha":"07132ad727e855b1f2d44f0b34aa682d80027ddf","user":{"login":"unknown-horizons","id":372796,"avatar_url":"https://avatars1.githubusercontent.com/u/372796?v=3","gravatar_id":"","url":"https://api.github.com/users/unknown-horizons","html_url":"https://github.com/unknown-horizons","followers_url":"https://api.github.com/users/unknown-horizons/followers","following_url":"https://api.github.com/users/unknown-horizons/following{/other_user}","gists_url":"https://api.github.com/users/unknown-horizons/gists{/gist_id}","starred_url":"https://api.github.com/users/unknown-horizons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unknown-horizons/subscriptions","organizations_url":"https://api.github.com/users/unknown-horizons/orgs","repos_url":"https://api.github.com/users/unknown-horizons/repos","events_url":"https://api.github.com/users/unknown-horizons/events{/privacy}","received_events_url":"https://api.github.com/users/unknown-horizons/received_events","type":"Organization","site_admin":false},"repo":{"id":856193,"name":"unknown-horizons","full_name":"unknown-horizons/unknown-horizons","owner":{"login":"unknown-horizons","id":372796,"avatar_url":"https://avatars1.githubusercontent.com/u/372796?v=3","gravatar_id":"","url":"https://api.github.com/users/unknown-horizons","html_url":"https://github.com/unknown-horizons","followers_url":"https://api.github.com/users/unknown-horizons/followers","following_url":"https://api.github.com/users/unknown-horizons/following{/other_user}","gists_url":"https://api.github.com/users/unknown-horizons/gists{/gist_id}","starred_url":"https://api.github.com/users/unknown-horizons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unknown-horizons/subscriptions","organizations_url":"https://api.github.com/users/unknown-horizons/orgs","repos_url":"https://api.github.com/users/unknown-horizons/repos","events_url":"https://api.github.com/users/unknown-horizons/events{/privacy}","received_events_url":"https://api.github.com/users/unknown-horizons/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/unknown-horizons/unknown-horizons","description":"Unknown Horizons official code repository","fork":false,"url":"https://api.github.com/repos/unknown-horizons/unknown-horizons","forks_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/forks","keys_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/teams","hooks_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/hooks","issue_events_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/issues/events{/number}","events_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/events","assignees_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/assignees{/user}","branches_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/branches{/branch}","tags_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/tags","blobs_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/git/refs{/sha}","trees_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/statuses/{sha}","languages_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/languages","stargazers_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/stargazers","contributors_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/contributors","subscribers_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/subscribers","subscription_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/subscription","commits_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/commits{/sha}","git_commits_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/git/commits{/sha}","comments_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/comments{/number}","issue_comment_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/issues/comments{/number}","contents_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/contents/{+path}","compare_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/merges","archive_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/downloads","issues_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/issues{/number}","pulls_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/pulls{/number}","milestones_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/milestones{/number}","notifications_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/labels{/name}","releases_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/releases{/id}","deployments_url":"https://api.github.com/repos/unknown-horizons/unknown-horizons/deployments","created_at":"2010-08-23T08:48:29Z","updated_at":"2017-04-08T09:24:40Z","pushed_at":"2017-04-08T15:45:18Z","git_url":"git://github.com/unknown-horizons/unknown-horizons.git","ssh_url":"git@github.com:unknown-horizons/unknown-horizons.git","clone_url":"https://github.com/unknown-horizons/unknown-horizons.git","svn_url":"https://github.com/unknown-horizons/unknown-horizons","homepage":"http://www.unknown-horizons.org","size":487252,"stargazers_count":559,"watchers_count":559,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":146,"mirror_url":null,"open_issues_count":243,"forks":146,"open_issues":243,"watchers":559,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/unknown-horizons/unknown-horizons/pulls/2628"},"html":{"href":"https://github.com/unknown-horizons/unknown-horizons/pull/2628"},"issue":{"href":"https://api.github.com/repos/unknown-horizons/unknown-horizons/issues/2628"},"comments":{"href":"https://api.github.com/repos/unknown-horizons/unknown-horizons/issues/2628/comments"},"review_comments":{"href":"https://api.github.com/repos/unknown-horizons/unknown-horizons/pulls/2628/comments"},"review_comment":{"href":"https://api.github.com/repos/unknown-horizons/unknown-horizons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/unknown-horizons/unknown-horizons/pulls/2628/commits"},"statuses":{"href":"https://api.github.com/repos/unknown-horizons/unknown-horizons/statuses/0f6dd1a457679956ab4cf04b136ea9930402cc8b"}}}}
{"actor":{"display_login":"MarkusHackspacher"}}