{"action":"created","comment":{"url":"https://api.github.com/repos/translate/translate/pulls/comments/75400238","id":75400238,"diff_hunk":"@@ -65,7 +65,7 @@ def test_active_flag(self):\n         \"\"\"Test the ## active ## flag\"\"\"\n         lang = (\"## active ##\\n\"","path":"translate/storage/test_mozilla_lang.py","position":11,"original_position":11,"commit_id":"f17ee5a65cb48a545ecab5e24936c1a680a6ddb2","original_commit_id":"f17ee5a65cb48a545ecab5e24936c1a680a6ddb2","user":{"login":"unho","id":939880,"avatar_url":"https://avatars.githubusercontent.com/u/939880?v=3","gravatar_id":"","url":"https://api.github.com/users/unho","html_url":"https://github.com/unho","followers_url":"https://api.github.com/users/unho/followers","following_url":"https://api.github.com/users/unho/following{/other_user}","gists_url":"https://api.github.com/users/unho/gists{/gist_id}","starred_url":"https://api.github.com/users/unho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unho/subscriptions","organizations_url":"https://api.github.com/users/unho/orgs","repos_url":"https://api.github.com/users/unho/repos","events_url":"https://api.github.com/users/unho/events{/privacy}","received_events_url":"https://api.github.com/users/unho/received_events","type":"User","site_admin":false},"body":"In all examples I have checked the file metadata is separated by two empty lines (like the strings), so here there are two missing newlines. It is kinda unrelated to the PR, but it would be great to handle.","created_at":"2016-08-18T22:21:20Z","updated_at":"2016-08-18T22:21:20Z","html_url":"https://github.com/translate/translate/pull/3485#discussion_r75400238","pull_request_url":"https://api.github.com/repos/translate/translate/pulls/3485","_links":{"self":{"href":"https://api.github.com/repos/translate/translate/pulls/comments/75400238"},"html":{"href":"https://github.com/translate/translate/pull/3485#discussion_r75400238"},"pull_request":{"href":"https://api.github.com/repos/translate/translate/pulls/3485"}}},"pull_request":{"url":"https://api.github.com/repos/translate/translate/pulls/3485","id":81728858,"html_url":"https://github.com/translate/translate/pull/3485","diff_url":"https://github.com/translate/translate/pull/3485.diff","patch_url":"https://github.com/translate/translate/pull/3485.patch","issue_url":"https://api.github.com/repos/translate/translate/issues/3485","number":3485,"state":"open","locked":false,"title":"mozlang: last unit is followed by trailing newlines","user":{"login":"dwaynebailey","id":647438,"avatar_url":"https://avatars.githubusercontent.com/u/647438?v=3","gravatar_id":"","url":"https://api.github.com/users/dwaynebailey","html_url":"https://github.com/dwaynebailey","followers_url":"https://api.github.com/users/dwaynebailey/followers","following_url":"https://api.github.com/users/dwaynebailey/following{/other_user}","gists_url":"https://api.github.com/users/dwaynebailey/gists{/gist_id}","starred_url":"https://api.github.com/users/dwaynebailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwaynebailey/subscriptions","organizations_url":"https://api.github.com/users/dwaynebailey/orgs","repos_url":"https://api.github.com/users/dwaynebailey/repos","events_url":"https://api.github.com/users/dwaynebailey/events{/privacy}","received_events_url":"https://api.github.com/users/dwaynebailey/received_events","type":"User","site_admin":false},"body":"Based on files in the wild the final unit is, like all units, followed\r\nby newlines.","created_at":"2016-08-17T22:32:58Z","updated_at":"2016-08-18T22:21:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab61cf5231b103173fc965381252f4a608fc7108","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/translate/translate/pulls/3485/commits","review_comments_url":"https://api.github.com/repos/translate/translate/pulls/3485/comments","review_comment_url":"https://api.github.com/repos/translate/translate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/translate/translate/issues/3485/comments","statuses_url":"https://api.github.com/repos/translate/translate/statuses/f17ee5a65cb48a545ecab5e24936c1a680a6ddb2","head":{"label":"dwaynebailey:fix/mozlang_trailing_newlines","ref":"fix/mozlang_trailing_newlines","sha":"f17ee5a65cb48a545ecab5e24936c1a680a6ddb2","user":{"login":"dwaynebailey","id":647438,"avatar_url":"https://avatars.githubusercontent.com/u/647438?v=3","gravatar_id":"","url":"https://api.github.com/users/dwaynebailey","html_url":"https://github.com/dwaynebailey","followers_url":"https://api.github.com/users/dwaynebailey/followers","following_url":"https://api.github.com/users/dwaynebailey/following{/other_user}","gists_url":"https://api.github.com/users/dwaynebailey/gists{/gist_id}","starred_url":"https://api.github.com/users/dwaynebailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwaynebailey/subscriptions","organizations_url":"https://api.github.com/users/dwaynebailey/orgs","repos_url":"https://api.github.com/users/dwaynebailey/repos","events_url":"https://api.github.com/users/dwaynebailey/events{/privacy}","received_events_url":"https://api.github.com/users/dwaynebailey/received_events","type":"User","site_admin":false},"repo":{"id":16394763,"name":"translate","full_name":"dwaynebailey/translate","owner":{"login":"dwaynebailey","id":647438,"avatar_url":"https://avatars.githubusercontent.com/u/647438?v=3","gravatar_id":"","url":"https://api.github.com/users/dwaynebailey","html_url":"https://github.com/dwaynebailey","followers_url":"https://api.github.com/users/dwaynebailey/followers","following_url":"https://api.github.com/users/dwaynebailey/following{/other_user}","gists_url":"https://api.github.com/users/dwaynebailey/gists{/gist_id}","starred_url":"https://api.github.com/users/dwaynebailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwaynebailey/subscriptions","organizations_url":"https://api.github.com/users/dwaynebailey/orgs","repos_url":"https://api.github.com/users/dwaynebailey/repos","events_url":"https://api.github.com/users/dwaynebailey/events{/privacy}","received_events_url":"https://api.github.com/users/dwaynebailey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dwaynebailey/translate","description":"Useful localization tools with Python API for building localization & translation systems","fork":true,"url":"https://api.github.com/repos/dwaynebailey/translate","forks_url":"https://api.github.com/repos/dwaynebailey/translate/forks","keys_url":"https://api.github.com/repos/dwaynebailey/translate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dwaynebailey/translate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dwaynebailey/translate/teams","hooks_url":"https://api.github.com/repos/dwaynebailey/translate/hooks","issue_events_url":"https://api.github.com/repos/dwaynebailey/translate/issues/events{/number}","events_url":"https://api.github.com/repos/dwaynebailey/translate/events","assignees_url":"https://api.github.com/repos/dwaynebailey/translate/assignees{/user}","branches_url":"https://api.github.com/repos/dwaynebailey/translate/branches{/branch}","tags_url":"https://api.github.com/repos/dwaynebailey/translate/tags","blobs_url":"https://api.github.com/repos/dwaynebailey/translate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dwaynebailey/translate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dwaynebailey/translate/git/refs{/sha}","trees_url":"https://api.github.com/repos/dwaynebailey/translate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dwaynebailey/translate/statuses/{sha}","languages_url":"https://api.github.com/repos/dwaynebailey/translate/languages","stargazers_url":"https://api.github.com/repos/dwaynebailey/translate/stargazers","contributors_url":"https://api.github.com/repos/dwaynebailey/translate/contributors","subscribers_url":"https://api.github.com/repos/dwaynebailey/translate/subscribers","subscription_url":"https://api.github.com/repos/dwaynebailey/translate/subscription","commits_url":"https://api.github.com/repos/dwaynebailey/translate/commits{/sha}","git_commits_url":"https://api.github.com/repos/dwaynebailey/translate/git/commits{/sha}","comments_url":"https://api.github.com/repos/dwaynebailey/translate/comments{/number}","issue_comment_url":"https://api.github.com/repos/dwaynebailey/translate/issues/comments{/number}","contents_url":"https://api.github.com/repos/dwaynebailey/translate/contents/{+path}","compare_url":"https://api.github.com/repos/dwaynebailey/translate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dwaynebailey/translate/merges","archive_url":"https://api.github.com/repos/dwaynebailey/translate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dwaynebailey/translate/downloads","issues_url":"https://api.github.com/repos/dwaynebailey/translate/issues{/number}","pulls_url":"https://api.github.com/repos/dwaynebailey/translate/pulls{/number}","milestones_url":"https://api.github.com/repos/dwaynebailey/translate/milestones{/number}","notifications_url":"https://api.github.com/repos/dwaynebailey/translate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dwaynebailey/translate/labels{/name}","releases_url":"https://api.github.com/repos/dwaynebailey/translate/releases{/id}","deployments_url":"https://api.github.com/repos/dwaynebailey/translate/deployments","created_at":"2014-01-30T23:49:15Z","updated_at":"2015-03-13T23:58:05Z","pushed_at":"2016-08-18T09:29:23Z","git_url":"git://github.com/dwaynebailey/translate.git","ssh_url":"git@github.com:dwaynebailey/translate.git","clone_url":"https://github.com/dwaynebailey/translate.git","svn_url":"https://github.com/dwaynebailey/translate","homepage":"http://toolkit.translatehouse.org","size":29585,"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":"translate:master","ref":"master","sha":"b61b6bf1e09d7345dbdec21dc76d09200bc19b34","user":{"login":"translate","id":1538178,"avatar_url":"https://avatars.githubusercontent.com/u/1538178?v=3","gravatar_id":"","url":"https://api.github.com/users/translate","html_url":"https://github.com/translate","followers_url":"https://api.github.com/users/translate/followers","following_url":"https://api.github.com/users/translate/following{/other_user}","gists_url":"https://api.github.com/users/translate/gists{/gist_id}","starred_url":"https://api.github.com/users/translate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/translate/subscriptions","organizations_url":"https://api.github.com/users/translate/orgs","repos_url":"https://api.github.com/users/translate/repos","events_url":"https://api.github.com/users/translate/events{/privacy}","received_events_url":"https://api.github.com/users/translate/received_events","type":"Organization","site_admin":false},"repo":{"id":3769696,"name":"translate","full_name":"translate/translate","owner":{"login":"translate","id":1538178,"avatar_url":"https://avatars.githubusercontent.com/u/1538178?v=3","gravatar_id":"","url":"https://api.github.com/users/translate","html_url":"https://github.com/translate","followers_url":"https://api.github.com/users/translate/followers","following_url":"https://api.github.com/users/translate/following{/other_user}","gists_url":"https://api.github.com/users/translate/gists{/gist_id}","starred_url":"https://api.github.com/users/translate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/translate/subscriptions","organizations_url":"https://api.github.com/users/translate/orgs","repos_url":"https://api.github.com/users/translate/repos","events_url":"https://api.github.com/users/translate/events{/privacy}","received_events_url":"https://api.github.com/users/translate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/translate/translate","description":"Useful localization tools with Python API for building localization & translation systems","fork":false,"url":"https://api.github.com/repos/translate/translate","forks_url":"https://api.github.com/repos/translate/translate/forks","keys_url":"https://api.github.com/repos/translate/translate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/translate/translate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/translate/translate/teams","hooks_url":"https://api.github.com/repos/translate/translate/hooks","issue_events_url":"https://api.github.com/repos/translate/translate/issues/events{/number}","events_url":"https://api.github.com/repos/translate/translate/events","assignees_url":"https://api.github.com/repos/translate/translate/assignees{/user}","branches_url":"https://api.github.com/repos/translate/translate/branches{/branch}","tags_url":"https://api.github.com/repos/translate/translate/tags","blobs_url":"https://api.github.com/repos/translate/translate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/translate/translate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/translate/translate/git/refs{/sha}","trees_url":"https://api.github.com/repos/translate/translate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/translate/translate/statuses/{sha}","languages_url":"https://api.github.com/repos/translate/translate/languages","stargazers_url":"https://api.github.com/repos/translate/translate/stargazers","contributors_url":"https://api.github.com/repos/translate/translate/contributors","subscribers_url":"https://api.github.com/repos/translate/translate/subscribers","subscription_url":"https://api.github.com/repos/translate/translate/subscription","commits_url":"https://api.github.com/repos/translate/translate/commits{/sha}","git_commits_url":"https://api.github.com/repos/translate/translate/git/commits{/sha}","comments_url":"https://api.github.com/repos/translate/translate/comments{/number}","issue_comment_url":"https://api.github.com/repos/translate/translate/issues/comments{/number}","contents_url":"https://api.github.com/repos/translate/translate/contents/{+path}","compare_url":"https://api.github.com/repos/translate/translate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/translate/translate/merges","archive_url":"https://api.github.com/repos/translate/translate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/translate/translate/downloads","issues_url":"https://api.github.com/repos/translate/translate/issues{/number}","pulls_url":"https://api.github.com/repos/translate/translate/pulls{/number}","milestones_url":"https://api.github.com/repos/translate/translate/milestones{/number}","notifications_url":"https://api.github.com/repos/translate/translate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/translate/translate/labels{/name}","releases_url":"https://api.github.com/repos/translate/translate/releases{/id}","deployments_url":"https://api.github.com/repos/translate/translate/deployments","created_at":"2012-03-19T23:05:29Z","updated_at":"2016-08-18T08:57:13Z","pushed_at":"2016-08-18T22:06:58Z","git_url":"git://github.com/translate/translate.git","ssh_url":"git@github.com:translate/translate.git","clone_url":"https://github.com/translate/translate.git","svn_url":"https://github.com/translate/translate","homepage":"http://toolkit.translatehouse.org","size":30007,"stargazers_count":235,"watchers_count":235,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":121,"mirror_url":null,"open_issues_count":341,"forks":121,"open_issues":341,"watchers":235,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/translate/translate/pulls/3485"},"html":{"href":"https://github.com/translate/translate/pull/3485"},"issue":{"href":"https://api.github.com/repos/translate/translate/issues/3485"},"comments":{"href":"https://api.github.com/repos/translate/translate/issues/3485/comments"},"review_comments":{"href":"https://api.github.com/repos/translate/translate/pulls/3485/comments"},"review_comment":{"href":"https://api.github.com/repos/translate/translate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/translate/translate/pulls/3485/commits"},"statuses":{"href":"https://api.github.com/repos/translate/translate/statuses/f17ee5a65cb48a545ecab5e24936c1a680a6ddb2"}}}}
{"actor":{"display_login":"unho"}}