{"action":"created","comment":{"url":"https://api.github.com/repos/librato/librato-python-web/pulls/comments/46727323","id":46727323,"diff_hunk":"@@ -0,0 +1,33 @@\n+# Copyright (c) 2015. Librato, Inc.\n+# All rights reserved.\n+#\n+# Redistribution and use in source and binary forms, with or without\n+# modification, are permitted provided that the following conditions are met:\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in the\n+#       documentation and/or other materials provided with the distribution.\n+#     * Neither the name of Librato, Inc. nor the names of project contributors\n+#       may be used to endorse or promote products derived from this software\n+#       without specific prior written permission.\n+#\n+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n+# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n+# DISCLAIMED. IN NO EVENT SHALL LIBRATO, INC. BE LIABLE FOR ANY\n+# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n+# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n+# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n+# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n+# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+\n+from librato_python_web.tools.configure import execute as configure\n+\n+def execute():\n+    configure()\n+\n+if __name__ == '__main__':\n+    execute()","path":"librato_python_web/librato_config.py","position":33,"original_position":33,"commit_id":"90a50760f9587ec31ce420fe417b225aa27735b5","original_commit_id":"90a50760f9587ec31ce420fe417b225aa27735b5","user":{"login":"vaidy4github","id":1772011,"avatar_url":"https://avatars.githubusercontent.com/u/1772011?v=3","gravatar_id":"","url":"https://api.github.com/users/vaidy4github","html_url":"https://github.com/vaidy4github","followers_url":"https://api.github.com/users/vaidy4github/followers","following_url":"https://api.github.com/users/vaidy4github/following{/other_user}","gists_url":"https://api.github.com/users/vaidy4github/gists{/gist_id}","starred_url":"https://api.github.com/users/vaidy4github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaidy4github/subscriptions","organizations_url":"https://api.github.com/users/vaidy4github/orgs","repos_url":"https://api.github.com/users/vaidy4github/repos","events_url":"https://api.github.com/users/vaidy4github/events{/privacy}","received_events_url":"https://api.github.com/users/vaidy4github/received_events","type":"User","site_admin":false},"body":"Any reason why we can't simply call configure()?","created_at":"2015-12-04T20:17:22Z","updated_at":"2015-12-04T20:17:22Z","html_url":"https://github.com/librato/librato-python-web/pull/16#discussion_r46727323","pull_request_url":"https://api.github.com/repos/librato/librato-python-web/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/librato/librato-python-web/pulls/comments/46727323"},"html":{"href":"https://github.com/librato/librato-python-web/pull/16#discussion_r46727323"},"pull_request":{"href":"https://api.github.com/repos/librato/librato-python-web/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/librato/librato-python-web/pulls/16","id":52715916,"html_url":"https://github.com/librato/librato-python-web/pull/16","diff_url":"https://github.com/librato/librato-python-web/pull/16.diff","patch_url":"https://github.com/librato/librato-python-web/pull/16.patch","issue_url":"https://api.github.com/repos/librato/librato-python-web/issues/16","number":16,"state":"open","locked":false,"title":"Flask","user":{"login":"bowillyard","id":4662484,"avatar_url":"https://avatars.githubusercontent.com/u/4662484?v=3","gravatar_id":"","url":"https://api.github.com/users/bowillyard","html_url":"https://github.com/bowillyard","followers_url":"https://api.github.com/users/bowillyard/followers","following_url":"https://api.github.com/users/bowillyard/following{/other_user}","gists_url":"https://api.github.com/users/bowillyard/gists{/gist_id}","starred_url":"https://api.github.com/users/bowillyard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowillyard/subscriptions","organizations_url":"https://api.github.com/users/bowillyard/orgs","repos_url":"https://api.github.com/users/bowillyard/repos","events_url":"https://api.github.com/users/bowillyard/events{/privacy}","received_events_url":"https://api.github.com/users/bowillyard/received_events","type":"User","site_admin":false},"body":"minor changes for flask and python 3.0","created_at":"2015-12-04T20:15:43Z","updated_at":"2015-12-04T20:17:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5418c63fed4004b1dd06be5cdb908d8ab95d31c4","assignee":{"login":"swilibc","id":10961654,"avatar_url":"https://avatars.githubusercontent.com/u/10961654?v=3","gravatar_id":"","url":"https://api.github.com/users/swilibc","html_url":"https://github.com/swilibc","followers_url":"https://api.github.com/users/swilibc/followers","following_url":"https://api.github.com/users/swilibc/following{/other_user}","gists_url":"https://api.github.com/users/swilibc/gists{/gist_id}","starred_url":"https://api.github.com/users/swilibc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swilibc/subscriptions","organizations_url":"https://api.github.com/users/swilibc/orgs","repos_url":"https://api.github.com/users/swilibc/repos","events_url":"https://api.github.com/users/swilibc/events{/privacy}","received_events_url":"https://api.github.com/users/swilibc/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/librato/librato-python-web/pulls/16/commits","review_comments_url":"https://api.github.com/repos/librato/librato-python-web/pulls/16/comments","review_comment_url":"https://api.github.com/repos/librato/librato-python-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/librato/librato-python-web/issues/16/comments","statuses_url":"https://api.github.com/repos/librato/librato-python-web/statuses/90a50760f9587ec31ce420fe417b225aa27735b5","head":{"label":"librato:flask","ref":"flask","sha":"90a50760f9587ec31ce420fe417b225aa27735b5","user":{"login":"librato","id":146042,"avatar_url":"https://avatars.githubusercontent.com/u/146042?v=3","gravatar_id":"","url":"https://api.github.com/users/librato","html_url":"https://github.com/librato","followers_url":"https://api.github.com/users/librato/followers","following_url":"https://api.github.com/users/librato/following{/other_user}","gists_url":"https://api.github.com/users/librato/gists{/gist_id}","starred_url":"https://api.github.com/users/librato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librato/subscriptions","organizations_url":"https://api.github.com/users/librato/orgs","repos_url":"https://api.github.com/users/librato/repos","events_url":"https://api.github.com/users/librato/events{/privacy}","received_events_url":"https://api.github.com/users/librato/received_events","type":"Organization","site_admin":false},"repo":{"id":46013061,"name":"librato-python-web","full_name":"librato/librato-python-web","owner":{"login":"librato","id":146042,"avatar_url":"https://avatars.githubusercontent.com/u/146042?v=3","gravatar_id":"","url":"https://api.github.com/users/librato","html_url":"https://github.com/librato","followers_url":"https://api.github.com/users/librato/followers","following_url":"https://api.github.com/users/librato/following{/other_user}","gists_url":"https://api.github.com/users/librato/gists{/gist_id}","starred_url":"https://api.github.com/users/librato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librato/subscriptions","organizations_url":"https://api.github.com/users/librato/orgs","repos_url":"https://api.github.com/users/librato/repos","events_url":"https://api.github.com/users/librato/events{/privacy}","received_events_url":"https://api.github.com/users/librato/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/librato/librato-python-web","description":"Report key app statistics to the Librato Metrics service","fork":false,"url":"https://api.github.com/repos/librato/librato-python-web","forks_url":"https://api.github.com/repos/librato/librato-python-web/forks","keys_url":"https://api.github.com/repos/librato/librato-python-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/librato/librato-python-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/librato/librato-python-web/teams","hooks_url":"https://api.github.com/repos/librato/librato-python-web/hooks","issue_events_url":"https://api.github.com/repos/librato/librato-python-web/issues/events{/number}","events_url":"https://api.github.com/repos/librato/librato-python-web/events","assignees_url":"https://api.github.com/repos/librato/librato-python-web/assignees{/user}","branches_url":"https://api.github.com/repos/librato/librato-python-web/branches{/branch}","tags_url":"https://api.github.com/repos/librato/librato-python-web/tags","blobs_url":"https://api.github.com/repos/librato/librato-python-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/librato/librato-python-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/librato/librato-python-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/librato/librato-python-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/librato/librato-python-web/statuses/{sha}","languages_url":"https://api.github.com/repos/librato/librato-python-web/languages","stargazers_url":"https://api.github.com/repos/librato/librato-python-web/stargazers","contributors_url":"https://api.github.com/repos/librato/librato-python-web/contributors","subscribers_url":"https://api.github.com/repos/librato/librato-python-web/subscribers","subscription_url":"https://api.github.com/repos/librato/librato-python-web/subscription","commits_url":"https://api.github.com/repos/librato/librato-python-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/librato/librato-python-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/librato/librato-python-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/librato/librato-python-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/librato/librato-python-web/contents/{+path}","compare_url":"https://api.github.com/repos/librato/librato-python-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/librato/librato-python-web/merges","archive_url":"https://api.github.com/repos/librato/librato-python-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/librato/librato-python-web/downloads","issues_url":"https://api.github.com/repos/librato/librato-python-web/issues{/number}","pulls_url":"https://api.github.com/repos/librato/librato-python-web/pulls{/number}","milestones_url":"https://api.github.com/repos/librato/librato-python-web/milestones{/number}","notifications_url":"https://api.github.com/repos/librato/librato-python-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/librato/librato-python-web/labels{/name}","releases_url":"https://api.github.com/repos/librato/librato-python-web/releases{/id}","created_at":"2015-11-11T22:12:44Z","updated_at":"2015-12-01T17:28:25Z","pushed_at":"2015-12-04T20:15:43Z","git_url":"git://github.com/librato/librato-python-web.git","ssh_url":"git@github.com:librato/librato-python-web.git","clone_url":"https://github.com/librato/librato-python-web.git","svn_url":"https://github.com/librato/librato-python-web","homepage":null,"size":137,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"librato:master","ref":"master","sha":"f4512f32371c4219a33d8a6b031f93a04e6ae557","user":{"login":"librato","id":146042,"avatar_url":"https://avatars.githubusercontent.com/u/146042?v=3","gravatar_id":"","url":"https://api.github.com/users/librato","html_url":"https://github.com/librato","followers_url":"https://api.github.com/users/librato/followers","following_url":"https://api.github.com/users/librato/following{/other_user}","gists_url":"https://api.github.com/users/librato/gists{/gist_id}","starred_url":"https://api.github.com/users/librato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librato/subscriptions","organizations_url":"https://api.github.com/users/librato/orgs","repos_url":"https://api.github.com/users/librato/repos","events_url":"https://api.github.com/users/librato/events{/privacy}","received_events_url":"https://api.github.com/users/librato/received_events","type":"Organization","site_admin":false},"repo":{"id":46013061,"name":"librato-python-web","full_name":"librato/librato-python-web","owner":{"login":"librato","id":146042,"avatar_url":"https://avatars.githubusercontent.com/u/146042?v=3","gravatar_id":"","url":"https://api.github.com/users/librato","html_url":"https://github.com/librato","followers_url":"https://api.github.com/users/librato/followers","following_url":"https://api.github.com/users/librato/following{/other_user}","gists_url":"https://api.github.com/users/librato/gists{/gist_id}","starred_url":"https://api.github.com/users/librato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librato/subscriptions","organizations_url":"https://api.github.com/users/librato/orgs","repos_url":"https://api.github.com/users/librato/repos","events_url":"https://api.github.com/users/librato/events{/privacy}","received_events_url":"https://api.github.com/users/librato/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/librato/librato-python-web","description":"Report key app statistics to the Librato Metrics service","fork":false,"url":"https://api.github.com/repos/librato/librato-python-web","forks_url":"https://api.github.com/repos/librato/librato-python-web/forks","keys_url":"https://api.github.com/repos/librato/librato-python-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/librato/librato-python-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/librato/librato-python-web/teams","hooks_url":"https://api.github.com/repos/librato/librato-python-web/hooks","issue_events_url":"https://api.github.com/repos/librato/librato-python-web/issues/events{/number}","events_url":"https://api.github.com/repos/librato/librato-python-web/events","assignees_url":"https://api.github.com/repos/librato/librato-python-web/assignees{/user}","branches_url":"https://api.github.com/repos/librato/librato-python-web/branches{/branch}","tags_url":"https://api.github.com/repos/librato/librato-python-web/tags","blobs_url":"https://api.github.com/repos/librato/librato-python-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/librato/librato-python-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/librato/librato-python-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/librato/librato-python-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/librato/librato-python-web/statuses/{sha}","languages_url":"https://api.github.com/repos/librato/librato-python-web/languages","stargazers_url":"https://api.github.com/repos/librato/librato-python-web/stargazers","contributors_url":"https://api.github.com/repos/librato/librato-python-web/contributors","subscribers_url":"https://api.github.com/repos/librato/librato-python-web/subscribers","subscription_url":"https://api.github.com/repos/librato/librato-python-web/subscription","commits_url":"https://api.github.com/repos/librato/librato-python-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/librato/librato-python-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/librato/librato-python-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/librato/librato-python-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/librato/librato-python-web/contents/{+path}","compare_url":"https://api.github.com/repos/librato/librato-python-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/librato/librato-python-web/merges","archive_url":"https://api.github.com/repos/librato/librato-python-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/librato/librato-python-web/downloads","issues_url":"https://api.github.com/repos/librato/librato-python-web/issues{/number}","pulls_url":"https://api.github.com/repos/librato/librato-python-web/pulls{/number}","milestones_url":"https://api.github.com/repos/librato/librato-python-web/milestones{/number}","notifications_url":"https://api.github.com/repos/librato/librato-python-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/librato/librato-python-web/labels{/name}","releases_url":"https://api.github.com/repos/librato/librato-python-web/releases{/id}","created_at":"2015-11-11T22:12:44Z","updated_at":"2015-12-01T17:28:25Z","pushed_at":"2015-12-04T20:15:43Z","git_url":"git://github.com/librato/librato-python-web.git","ssh_url":"git@github.com:librato/librato-python-web.git","clone_url":"https://github.com/librato/librato-python-web.git","svn_url":"https://github.com/librato/librato-python-web","homepage":null,"size":137,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/librato/librato-python-web/pulls/16"},"html":{"href":"https://github.com/librato/librato-python-web/pull/16"},"issue":{"href":"https://api.github.com/repos/librato/librato-python-web/issues/16"},"comments":{"href":"https://api.github.com/repos/librato/librato-python-web/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/librato/librato-python-web/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/librato/librato-python-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/librato/librato-python-web/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/librato/librato-python-web/statuses/90a50760f9587ec31ce420fe417b225aa27735b5"}}}}