{"action":"created","comment":{"url":"https://api.github.com/repos/Mindwerks/worldengine/pulls/comments/33859052","id":33859052,"diff_hunk":"@@ -120,18 +120,20 @@ def check_step(step_name):\n         return step\n \n \n-def operation_ancient_map(world, map_filename, resize_factor, sea_color, draw_biome, draw_rivers, draw_mountains,\n-                    draw_outer_land_border):\n-    draw_ancientmap_on_file(world, map_filename, resize_factor, sea_color, draw_biome, draw_rivers, draw_mountains,\n-                    draw_outer_land_border)\n+def operation_ancient_map(world, map_filename, resize_factor, sea_color,\n+                          draw_biome, draw_rivers, draw_mountains,\n+                          draw_outer_land_border):\n+    draw_ancientmap_on_file(world, map_filename, resize_factor, sea_color,\n+                            draw_biome, draw_rivers, draw_mountains,\n+                            draw_outer_land_border)\n     print(\"+ ancient map generated in '%s'\" % map_filename)\n \n \n def __get_last_byte__(filename):\n-    with open(filename, 'rb') as ifile:\n-        data = tmp_data = ifile.read(1024 * 1024)\n+    with open(filename, 'rb') as input_file:","path":"worldengine/cli/main.py","position":27,"original_position":27,"commit_id":"c7b668c11384796db2c3ef6c113518c685ad88b4","original_commit_id":"c7b668c11384796db2c3ef6c113518c685ad88b4","user":{"login":"ftomassetti","id":439078,"avatar_url":"https://avatars.githubusercontent.com/u/439078?v=3","gravatar_id":"","url":"https://api.github.com/users/ftomassetti","html_url":"https://github.com/ftomassetti","followers_url":"https://api.github.com/users/ftomassetti/followers","following_url":"https://api.github.com/users/ftomassetti/following{/other_user}","gists_url":"https://api.github.com/users/ftomassetti/gists{/gist_id}","starred_url":"https://api.github.com/users/ftomassetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftomassetti/subscriptions","organizations_url":"https://api.github.com/users/ftomassetti/orgs","repos_url":"https://api.github.com/users/ftomassetti/repos","events_url":"https://api.github.com/users/ftomassetti/events{/privacy}","received_events_url":"https://api.github.com/users/ftomassetti/received_events","type":"User","site_admin":false},"body":"thanks for cleaning this and the following fuction!","created_at":"2015-07-03T12:05:11Z","updated_at":"2015-07-03T12:05:11Z","html_url":"https://github.com/Mindwerks/worldengine/pull/96#discussion_r33859052","pull_request_url":"https://api.github.com/repos/Mindwerks/worldengine/pulls/96","_links":{"self":{"href":"https://api.github.com/repos/Mindwerks/worldengine/pulls/comments/33859052"},"html":{"href":"https://github.com/Mindwerks/worldengine/pull/96#discussion_r33859052"},"pull_request":{"href":"https://api.github.com/repos/Mindwerks/worldengine/pulls/96"}}},"pull_request":{"url":"https://api.github.com/repos/Mindwerks/worldengine/pulls/96","id":38889903,"html_url":"https://github.com/Mindwerks/worldengine/pull/96","diff_url":"https://github.com/Mindwerks/worldengine/pull/96.diff","patch_url":"https://github.com/Mindwerks/worldengine/pull/96.patch","issue_url":"https://api.github.com/repos/Mindwerks/worldengine/issues/96","number":96,"state":"open","locked":false,"title":"use argparse instead of optparse, fix running worldengine directly wi…","user":{"login":"psi29a","id":1122069,"avatar_url":"https://avatars.githubusercontent.com/u/1122069?v=3","gravatar_id":"","url":"https://api.github.com/users/psi29a","html_url":"https://github.com/psi29a","followers_url":"https://api.github.com/users/psi29a/followers","following_url":"https://api.github.com/users/psi29a/following{/other_user}","gists_url":"https://api.github.com/users/psi29a/gists{/gist_id}","starred_url":"https://api.github.com/users/psi29a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psi29a/subscriptions","organizations_url":"https://api.github.com/users/psi29a/orgs","repos_url":"https://api.github.com/users/psi29a/repos","events_url":"https://api.github.com/users/psi29a/events{/privacy}","received_events_url":"https://api.github.com/users/psi29a/received_events","type":"User","site_admin":false},"body":"…thout first installing","created_at":"2015-06-30T15:20:57Z","updated_at":"2015-07-03T12:05:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4883104bb27af94c5b796b8d1157f7e14bc55690","assignee":{"login":"psi29a","id":1122069,"avatar_url":"https://avatars.githubusercontent.com/u/1122069?v=3","gravatar_id":"","url":"https://api.github.com/users/psi29a","html_url":"https://github.com/psi29a","followers_url":"https://api.github.com/users/psi29a/followers","following_url":"https://api.github.com/users/psi29a/following{/other_user}","gists_url":"https://api.github.com/users/psi29a/gists{/gist_id}","starred_url":"https://api.github.com/users/psi29a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psi29a/subscriptions","organizations_url":"https://api.github.com/users/psi29a/orgs","repos_url":"https://api.github.com/users/psi29a/repos","events_url":"https://api.github.com/users/psi29a/events{/privacy}","received_events_url":"https://api.github.com/users/psi29a/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Mindwerks/worldengine/milestones/4","html_url":"https://github.com/Mindwerks/worldengine/milestones/v0.18.0","labels_url":"https://api.github.com/repos/Mindwerks/worldengine/milestones/4/labels","id":1043572,"number":4,"title":"v0.18.0","description":null,"creator":{"login":"ftomassetti","id":439078,"avatar_url":"https://avatars.githubusercontent.com/u/439078?v=3","gravatar_id":"","url":"https://api.github.com/users/ftomassetti","html_url":"https://github.com/ftomassetti","followers_url":"https://api.github.com/users/ftomassetti/followers","following_url":"https://api.github.com/users/ftomassetti/following{/other_user}","gists_url":"https://api.github.com/users/ftomassetti/gists{/gist_id}","starred_url":"https://api.github.com/users/ftomassetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftomassetti/subscriptions","organizations_url":"https://api.github.com/users/ftomassetti/orgs","repos_url":"https://api.github.com/users/ftomassetti/repos","events_url":"https://api.github.com/users/ftomassetti/events{/privacy}","received_events_url":"https://api.github.com/users/ftomassetti/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":5,"state":"open","created_at":"2015-03-29T15:30:31Z","updated_at":"2015-06-30T15:20:57Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Mindwerks/worldengine/pulls/96/commits","review_comments_url":"https://api.github.com/repos/Mindwerks/worldengine/pulls/96/comments","review_comment_url":"https://api.github.com/repos/Mindwerks/worldengine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Mindwerks/worldengine/issues/96/comments","statuses_url":"https://api.github.com/repos/Mindwerks/worldengine/statuses/c7b668c11384796db2c3ef6c113518c685ad88b4","head":{"label":"psi29a:argparse","ref":"argparse","sha":"c7b668c11384796db2c3ef6c113518c685ad88b4","user":{"login":"psi29a","id":1122069,"avatar_url":"https://avatars.githubusercontent.com/u/1122069?v=3","gravatar_id":"","url":"https://api.github.com/users/psi29a","html_url":"https://github.com/psi29a","followers_url":"https://api.github.com/users/psi29a/followers","following_url":"https://api.github.com/users/psi29a/following{/other_user}","gists_url":"https://api.github.com/users/psi29a/gists{/gist_id}","starred_url":"https://api.github.com/users/psi29a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psi29a/subscriptions","organizations_url":"https://api.github.com/users/psi29a/orgs","repos_url":"https://api.github.com/users/psi29a/repos","events_url":"https://api.github.com/users/psi29a/events{/privacy}","received_events_url":"https://api.github.com/users/psi29a/received_events","type":"User","site_admin":false},"repo":{"id":38273445,"name":"worldengine","full_name":"psi29a/worldengine","owner":{"login":"psi29a","id":1122069,"avatar_url":"https://avatars.githubusercontent.com/u/1122069?v=3","gravatar_id":"","url":"https://api.github.com/users/psi29a","html_url":"https://github.com/psi29a","followers_url":"https://api.github.com/users/psi29a/followers","following_url":"https://api.github.com/users/psi29a/following{/other_user}","gists_url":"https://api.github.com/users/psi29a/gists{/gist_id}","starred_url":"https://api.github.com/users/psi29a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psi29a/subscriptions","organizations_url":"https://api.github.com/users/psi29a/orgs","repos_url":"https://api.github.com/users/psi29a/repos","events_url":"https://api.github.com/users/psi29a/events{/privacy}","received_events_url":"https://api.github.com/users/psi29a/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/psi29a/worldengine","description":"World generator using simulation of plates, rain shadow, erosion, etc.","fork":true,"url":"https://api.github.com/repos/psi29a/worldengine","forks_url":"https://api.github.com/repos/psi29a/worldengine/forks","keys_url":"https://api.github.com/repos/psi29a/worldengine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psi29a/worldengine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psi29a/worldengine/teams","hooks_url":"https://api.github.com/repos/psi29a/worldengine/hooks","issue_events_url":"https://api.github.com/repos/psi29a/worldengine/issues/events{/number}","events_url":"https://api.github.com/repos/psi29a/worldengine/events","assignees_url":"https://api.github.com/repos/psi29a/worldengine/assignees{/user}","branches_url":"https://api.github.com/repos/psi29a/worldengine/branches{/branch}","tags_url":"https://api.github.com/repos/psi29a/worldengine/tags","blobs_url":"https://api.github.com/repos/psi29a/worldengine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psi29a/worldengine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psi29a/worldengine/git/refs{/sha}","trees_url":"https://api.github.com/repos/psi29a/worldengine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psi29a/worldengine/statuses/{sha}","languages_url":"https://api.github.com/repos/psi29a/worldengine/languages","stargazers_url":"https://api.github.com/repos/psi29a/worldengine/stargazers","contributors_url":"https://api.github.com/repos/psi29a/worldengine/contributors","subscribers_url":"https://api.github.com/repos/psi29a/worldengine/subscribers","subscription_url":"https://api.github.com/repos/psi29a/worldengine/subscription","commits_url":"https://api.github.com/repos/psi29a/worldengine/commits{/sha}","git_commits_url":"https://api.github.com/repos/psi29a/worldengine/git/commits{/sha}","comments_url":"https://api.github.com/repos/psi29a/worldengine/comments{/number}","issue_comment_url":"https://api.github.com/repos/psi29a/worldengine/issues/comments{/number}","contents_url":"https://api.github.com/repos/psi29a/worldengine/contents/{+path}","compare_url":"https://api.github.com/repos/psi29a/worldengine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psi29a/worldengine/merges","archive_url":"https://api.github.com/repos/psi29a/worldengine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psi29a/worldengine/downloads","issues_url":"https://api.github.com/repos/psi29a/worldengine/issues{/number}","pulls_url":"https://api.github.com/repos/psi29a/worldengine/pulls{/number}","milestones_url":"https://api.github.com/repos/psi29a/worldengine/milestones{/number}","notifications_url":"https://api.github.com/repos/psi29a/worldengine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psi29a/worldengine/labels{/name}","releases_url":"https://api.github.com/repos/psi29a/worldengine/releases{/id}","created_at":"2015-06-29T21:58:27Z","updated_at":"2015-06-29T21:58:27Z","pushed_at":"2015-07-03T11:38:29Z","git_url":"git://github.com/psi29a/worldengine.git","ssh_url":"git@github.com:psi29a/worldengine.git","clone_url":"https://github.com/psi29a/worldengine.git","svn_url":"https://github.com/psi29a/worldengine","homepage":"","size":85118,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Mindwerks:master","ref":"master","sha":"1d563ebf9a187d1d3b78584afbafe98c79ef6083","user":{"login":"Mindwerks","id":6725881,"avatar_url":"https://avatars.githubusercontent.com/u/6725881?v=3","gravatar_id":"","url":"https://api.github.com/users/Mindwerks","html_url":"https://github.com/Mindwerks","followers_url":"https://api.github.com/users/Mindwerks/followers","following_url":"https://api.github.com/users/Mindwerks/following{/other_user}","gists_url":"https://api.github.com/users/Mindwerks/gists{/gist_id}","starred_url":"https://api.github.com/users/Mindwerks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mindwerks/subscriptions","organizations_url":"https://api.github.com/users/Mindwerks/orgs","repos_url":"https://api.github.com/users/Mindwerks/repos","events_url":"https://api.github.com/users/Mindwerks/events{/privacy}","received_events_url":"https://api.github.com/users/Mindwerks/received_events","type":"Organization","site_admin":false},"repo":{"id":14665885,"name":"worldengine","full_name":"Mindwerks/worldengine","owner":{"login":"Mindwerks","id":6725881,"avatar_url":"https://avatars.githubusercontent.com/u/6725881?v=3","gravatar_id":"","url":"https://api.github.com/users/Mindwerks","html_url":"https://github.com/Mindwerks","followers_url":"https://api.github.com/users/Mindwerks/followers","following_url":"https://api.github.com/users/Mindwerks/following{/other_user}","gists_url":"https://api.github.com/users/Mindwerks/gists{/gist_id}","starred_url":"https://api.github.com/users/Mindwerks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mindwerks/subscriptions","organizations_url":"https://api.github.com/users/Mindwerks/orgs","repos_url":"https://api.github.com/users/Mindwerks/repos","events_url":"https://api.github.com/users/Mindwerks/events{/privacy}","received_events_url":"https://api.github.com/users/Mindwerks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Mindwerks/worldengine","description":"World generator using simulation of plates, rain shadow, erosion, etc.","fork":false,"url":"https://api.github.com/repos/Mindwerks/worldengine","forks_url":"https://api.github.com/repos/Mindwerks/worldengine/forks","keys_url":"https://api.github.com/repos/Mindwerks/worldengine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mindwerks/worldengine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mindwerks/worldengine/teams","hooks_url":"https://api.github.com/repos/Mindwerks/worldengine/hooks","issue_events_url":"https://api.github.com/repos/Mindwerks/worldengine/issues/events{/number}","events_url":"https://api.github.com/repos/Mindwerks/worldengine/events","assignees_url":"https://api.github.com/repos/Mindwerks/worldengine/assignees{/user}","branches_url":"https://api.github.com/repos/Mindwerks/worldengine/branches{/branch}","tags_url":"https://api.github.com/repos/Mindwerks/worldengine/tags","blobs_url":"https://api.github.com/repos/Mindwerks/worldengine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mindwerks/worldengine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mindwerks/worldengine/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mindwerks/worldengine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mindwerks/worldengine/statuses/{sha}","languages_url":"https://api.github.com/repos/Mindwerks/worldengine/languages","stargazers_url":"https://api.github.com/repos/Mindwerks/worldengine/stargazers","contributors_url":"https://api.github.com/repos/Mindwerks/worldengine/contributors","subscribers_url":"https://api.github.com/repos/Mindwerks/worldengine/subscribers","subscription_url":"https://api.github.com/repos/Mindwerks/worldengine/subscription","commits_url":"https://api.github.com/repos/Mindwerks/worldengine/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mindwerks/worldengine/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mindwerks/worldengine/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mindwerks/worldengine/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mindwerks/worldengine/contents/{+path}","compare_url":"https://api.github.com/repos/Mindwerks/worldengine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mindwerks/worldengine/merges","archive_url":"https://api.github.com/repos/Mindwerks/worldengine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mindwerks/worldengine/downloads","issues_url":"https://api.github.com/repos/Mindwerks/worldengine/issues{/number}","pulls_url":"https://api.github.com/repos/Mindwerks/worldengine/pulls{/number}","milestones_url":"https://api.github.com/repos/Mindwerks/worldengine/milestones{/number}","notifications_url":"https://api.github.com/repos/Mindwerks/worldengine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mindwerks/worldengine/labels{/name}","releases_url":"https://api.github.com/repos/Mindwerks/worldengine/releases{/id}","created_at":"2013-11-24T17:49:35Z","updated_at":"2015-06-27T06:36:04Z","pushed_at":"2015-07-03T11:38:29Z","git_url":"git://github.com/Mindwerks/worldengine.git","ssh_url":"git@github.com:Mindwerks/worldengine.git","clone_url":"https://github.com/Mindwerks/worldengine.git","svn_url":"https://github.com/Mindwerks/worldengine","homepage":"","size":85118,"stargazers_count":109,"watchers_count":109,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":11,"mirror_url":null,"open_issues_count":37,"forks":11,"open_issues":37,"watchers":109,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Mindwerks/worldengine/pulls/96"},"html":{"href":"https://github.com/Mindwerks/worldengine/pull/96"},"issue":{"href":"https://api.github.com/repos/Mindwerks/worldengine/issues/96"},"comments":{"href":"https://api.github.com/repos/Mindwerks/worldengine/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/Mindwerks/worldengine/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/Mindwerks/worldengine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Mindwerks/worldengine/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/Mindwerks/worldengine/statuses/c7b668c11384796db2c3ef6c113518c685ad88b4"}}}}