{"action":"created","comment":{"url":"https://api.github.com/repos/baifendian/Sirius/pulls/comments/78525878","id":78525878,"diff_hunk":"@@ -57,19 +53,19 @@ def logout(request):\n \n \n def create_host(request):\n-    ret={}\n+    ret = {}\n     if request.method == 'POST':\n-        type_name=request.POST.get('name')\n-        if type_name=='T1':\n-            ret={'cpu':\"1\",\"mem\":\"2\",\"count\":'0.14'}\n+        type_name = request.POST.get('name')\n+        if type_name == 'T1':\n+            ret = {'cpu': \"1\", \"mem\": \"2\", \"count\": '0.14'}","path":"Aries/openstack/views.py","position":85,"original_position":85,"commit_id":"9d644c62c6990d829338b95b8e2bd5b90b611869","original_commit_id":"9d644c62c6990d829338b95b8e2bd5b90b611869","user":{"login":"lsglsf","id":16957887,"avatar_url":"https://avatars.githubusercontent.com/u/16957887?v=3","gravatar_id":"","url":"https://api.github.com/users/lsglsf","html_url":"https://github.com/lsglsf","followers_url":"https://api.github.com/users/lsglsf/followers","following_url":"https://api.github.com/users/lsglsf/following{/other_user}","gists_url":"https://api.github.com/users/lsglsf/gists{/gist_id}","starred_url":"https://api.github.com/users/lsglsf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsglsf/subscriptions","organizations_url":"https://api.github.com/users/lsglsf/orgs","repos_url":"https://api.github.com/users/lsglsf/repos","events_url":"https://api.github.com/users/lsglsf/events{/privacy}","received_events_url":"https://api.github.com/users/lsglsf/received_events","type":"User","site_admin":false},"body":"用来测试test","created_at":"2016-09-13T09:32:26Z","updated_at":"2016-09-13T09:32:26Z","html_url":"https://github.com/baifendian/Sirius/pull/130#discussion_r78525878","pull_request_url":"https://api.github.com/repos/baifendian/Sirius/pulls/130","_links":{"self":{"href":"https://api.github.com/repos/baifendian/Sirius/pulls/comments/78525878"},"html":{"href":"https://github.com/baifendian/Sirius/pull/130#discussion_r78525878"},"pull_request":{"href":"https://api.github.com/repos/baifendian/Sirius/pulls/130"}}},"pull_request":{"url":"https://api.github.com/repos/baifendian/Sirius/pulls/130","id":84999537,"html_url":"https://github.com/baifendian/Sirius/pull/130","diff_url":"https://github.com/baifendian/Sirius/pull/130.diff","patch_url":"https://github.com/baifendian/Sirius/pull/130.patch","issue_url":"https://api.github.com/repos/baifendian/Sirius/issues/130","number":130,"state":"open","locked":false,"title":"fix #112","user":{"login":"lsglsf","id":16957887,"avatar_url":"https://avatars.githubusercontent.com/u/16957887?v=3","gravatar_id":"","url":"https://api.github.com/users/lsglsf","html_url":"https://github.com/lsglsf","followers_url":"https://api.github.com/users/lsglsf/followers","following_url":"https://api.github.com/users/lsglsf/following{/other_user}","gists_url":"https://api.github.com/users/lsglsf/gists{/gist_id}","starred_url":"https://api.github.com/users/lsglsf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsglsf/subscriptions","organizations_url":"https://api.github.com/users/lsglsf/orgs","repos_url":"https://api.github.com/users/lsglsf/repos","events_url":"https://api.github.com/users/lsglsf/events{/privacy}","received_events_url":"https://api.github.com/users/lsglsf/received_events","type":"User","site_admin":false},"body":"fix #112  @LuPan2015 @qqzxingchen ","created_at":"2016-09-13T07:44:43Z","updated_at":"2016-09-13T09:32:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8449570ebab042b268d65be86d7b0f5b2656eea3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/baifendian/Sirius/pulls/130/commits","review_comments_url":"https://api.github.com/repos/baifendian/Sirius/pulls/130/comments","review_comment_url":"https://api.github.com/repos/baifendian/Sirius/pulls/comments{/number}","comments_url":"https://api.github.com/repos/baifendian/Sirius/issues/130/comments","statuses_url":"https://api.github.com/repos/baifendian/Sirius/statuses/9d644c62c6990d829338b95b8e2bd5b90b611869","head":{"label":"baifendian:openstack","ref":"openstack","sha":"9d644c62c6990d829338b95b8e2bd5b90b611869","user":{"login":"baifendian","id":10775808,"avatar_url":"https://avatars.githubusercontent.com/u/10775808?v=3","gravatar_id":"","url":"https://api.github.com/users/baifendian","html_url":"https://github.com/baifendian","followers_url":"https://api.github.com/users/baifendian/followers","following_url":"https://api.github.com/users/baifendian/following{/other_user}","gists_url":"https://api.github.com/users/baifendian/gists{/gist_id}","starred_url":"https://api.github.com/users/baifendian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baifendian/subscriptions","organizations_url":"https://api.github.com/users/baifendian/orgs","repos_url":"https://api.github.com/users/baifendian/repos","events_url":"https://api.github.com/users/baifendian/events{/privacy}","received_events_url":"https://api.github.com/users/baifendian/received_events","type":"Organization","site_admin":false},"repo":{"id":64270552,"name":"Sirius","full_name":"baifendian/Sirius","owner":{"login":"baifendian","id":10775808,"avatar_url":"https://avatars.githubusercontent.com/u/10775808?v=3","gravatar_id":"","url":"https://api.github.com/users/baifendian","html_url":"https://github.com/baifendian","followers_url":"https://api.github.com/users/baifendian/followers","following_url":"https://api.github.com/users/baifendian/following{/other_user}","gists_url":"https://api.github.com/users/baifendian/gists{/gist_id}","starred_url":"https://api.github.com/users/baifendian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baifendian/subscriptions","organizations_url":"https://api.github.com/users/baifendian/orgs","repos_url":"https://api.github.com/users/baifendian/repos","events_url":"https://api.github.com/users/baifendian/events{/privacy}","received_events_url":"https://api.github.com/users/baifendian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/baifendian/Sirius","description":"Cluster dashboard for datacenter clusters","fork":false,"url":"https://api.github.com/repos/baifendian/Sirius","forks_url":"https://api.github.com/repos/baifendian/Sirius/forks","keys_url":"https://api.github.com/repos/baifendian/Sirius/keys{/key_id}","collaborators_url":"https://api.github.com/repos/baifendian/Sirius/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/baifendian/Sirius/teams","hooks_url":"https://api.github.com/repos/baifendian/Sirius/hooks","issue_events_url":"https://api.github.com/repos/baifendian/Sirius/issues/events{/number}","events_url":"https://api.github.com/repos/baifendian/Sirius/events","assignees_url":"https://api.github.com/repos/baifendian/Sirius/assignees{/user}","branches_url":"https://api.github.com/repos/baifendian/Sirius/branches{/branch}","tags_url":"https://api.github.com/repos/baifendian/Sirius/tags","blobs_url":"https://api.github.com/repos/baifendian/Sirius/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/baifendian/Sirius/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/baifendian/Sirius/git/refs{/sha}","trees_url":"https://api.github.com/repos/baifendian/Sirius/git/trees{/sha}","statuses_url":"https://api.github.com/repos/baifendian/Sirius/statuses/{sha}","languages_url":"https://api.github.com/repos/baifendian/Sirius/languages","stargazers_url":"https://api.github.com/repos/baifendian/Sirius/stargazers","contributors_url":"https://api.github.com/repos/baifendian/Sirius/contributors","subscribers_url":"https://api.github.com/repos/baifendian/Sirius/subscribers","subscription_url":"https://api.github.com/repos/baifendian/Sirius/subscription","commits_url":"https://api.github.com/repos/baifendian/Sirius/commits{/sha}","git_commits_url":"https://api.github.com/repos/baifendian/Sirius/git/commits{/sha}","comments_url":"https://api.github.com/repos/baifendian/Sirius/comments{/number}","issue_comment_url":"https://api.github.com/repos/baifendian/Sirius/issues/comments{/number}","contents_url":"https://api.github.com/repos/baifendian/Sirius/contents/{+path}","compare_url":"https://api.github.com/repos/baifendian/Sirius/compare/{base}...{head}","merges_url":"https://api.github.com/repos/baifendian/Sirius/merges","archive_url":"https://api.github.com/repos/baifendian/Sirius/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/baifendian/Sirius/downloads","issues_url":"https://api.github.com/repos/baifendian/Sirius/issues{/number}","pulls_url":"https://api.github.com/repos/baifendian/Sirius/pulls{/number}","milestones_url":"https://api.github.com/repos/baifendian/Sirius/milestones{/number}","notifications_url":"https://api.github.com/repos/baifendian/Sirius/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/baifendian/Sirius/labels{/name}","releases_url":"https://api.github.com/repos/baifendian/Sirius/releases{/id}","deployments_url":"https://api.github.com/repos/baifendian/Sirius/deployments","created_at":"2016-07-27T02:30:38Z","updated_at":"2016-09-06T02:26:17Z","pushed_at":"2016-09-13T09:18:01Z","git_url":"git://github.com/baifendian/Sirius.git","ssh_url":"git@github.com:baifendian/Sirius.git","clone_url":"https://github.com/baifendian/Sirius.git","svn_url":"https://github.com/baifendian/Sirius","homepage":"","size":50357,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":49,"forks":5,"open_issues":49,"watchers":8,"default_branch":"master"}},"base":{"label":"baifendian:dev","ref":"dev","sha":"c34999eec2ad08b2d1af5cc6807f704ce319f042","user":{"login":"baifendian","id":10775808,"avatar_url":"https://avatars.githubusercontent.com/u/10775808?v=3","gravatar_id":"","url":"https://api.github.com/users/baifendian","html_url":"https://github.com/baifendian","followers_url":"https://api.github.com/users/baifendian/followers","following_url":"https://api.github.com/users/baifendian/following{/other_user}","gists_url":"https://api.github.com/users/baifendian/gists{/gist_id}","starred_url":"https://api.github.com/users/baifendian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baifendian/subscriptions","organizations_url":"https://api.github.com/users/baifendian/orgs","repos_url":"https://api.github.com/users/baifendian/repos","events_url":"https://api.github.com/users/baifendian/events{/privacy}","received_events_url":"https://api.github.com/users/baifendian/received_events","type":"Organization","site_admin":false},"repo":{"id":64270552,"name":"Sirius","full_name":"baifendian/Sirius","owner":{"login":"baifendian","id":10775808,"avatar_url":"https://avatars.githubusercontent.com/u/10775808?v=3","gravatar_id":"","url":"https://api.github.com/users/baifendian","html_url":"https://github.com/baifendian","followers_url":"https://api.github.com/users/baifendian/followers","following_url":"https://api.github.com/users/baifendian/following{/other_user}","gists_url":"https://api.github.com/users/baifendian/gists{/gist_id}","starred_url":"https://api.github.com/users/baifendian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baifendian/subscriptions","organizations_url":"https://api.github.com/users/baifendian/orgs","repos_url":"https://api.github.com/users/baifendian/repos","events_url":"https://api.github.com/users/baifendian/events{/privacy}","received_events_url":"https://api.github.com/users/baifendian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/baifendian/Sirius","description":"Cluster dashboard for datacenter clusters","fork":false,"url":"https://api.github.com/repos/baifendian/Sirius","forks_url":"https://api.github.com/repos/baifendian/Sirius/forks","keys_url":"https://api.github.com/repos/baifendian/Sirius/keys{/key_id}","collaborators_url":"https://api.github.com/repos/baifendian/Sirius/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/baifendian/Sirius/teams","hooks_url":"https://api.github.com/repos/baifendian/Sirius/hooks","issue_events_url":"https://api.github.com/repos/baifendian/Sirius/issues/events{/number}","events_url":"https://api.github.com/repos/baifendian/Sirius/events","assignees_url":"https://api.github.com/repos/baifendian/Sirius/assignees{/user}","branches_url":"https://api.github.com/repos/baifendian/Sirius/branches{/branch}","tags_url":"https://api.github.com/repos/baifendian/Sirius/tags","blobs_url":"https://api.github.com/repos/baifendian/Sirius/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/baifendian/Sirius/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/baifendian/Sirius/git/refs{/sha}","trees_url":"https://api.github.com/repos/baifendian/Sirius/git/trees{/sha}","statuses_url":"https://api.github.com/repos/baifendian/Sirius/statuses/{sha}","languages_url":"https://api.github.com/repos/baifendian/Sirius/languages","stargazers_url":"https://api.github.com/repos/baifendian/Sirius/stargazers","contributors_url":"https://api.github.com/repos/baifendian/Sirius/contributors","subscribers_url":"https://api.github.com/repos/baifendian/Sirius/subscribers","subscription_url":"https://api.github.com/repos/baifendian/Sirius/subscription","commits_url":"https://api.github.com/repos/baifendian/Sirius/commits{/sha}","git_commits_url":"https://api.github.com/repos/baifendian/Sirius/git/commits{/sha}","comments_url":"https://api.github.com/repos/baifendian/Sirius/comments{/number}","issue_comment_url":"https://api.github.com/repos/baifendian/Sirius/issues/comments{/number}","contents_url":"https://api.github.com/repos/baifendian/Sirius/contents/{+path}","compare_url":"https://api.github.com/repos/baifendian/Sirius/compare/{base}...{head}","merges_url":"https://api.github.com/repos/baifendian/Sirius/merges","archive_url":"https://api.github.com/repos/baifendian/Sirius/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/baifendian/Sirius/downloads","issues_url":"https://api.github.com/repos/baifendian/Sirius/issues{/number}","pulls_url":"https://api.github.com/repos/baifendian/Sirius/pulls{/number}","milestones_url":"https://api.github.com/repos/baifendian/Sirius/milestones{/number}","notifications_url":"https://api.github.com/repos/baifendian/Sirius/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/baifendian/Sirius/labels{/name}","releases_url":"https://api.github.com/repos/baifendian/Sirius/releases{/id}","deployments_url":"https://api.github.com/repos/baifendian/Sirius/deployments","created_at":"2016-07-27T02:30:38Z","updated_at":"2016-09-06T02:26:17Z","pushed_at":"2016-09-13T09:18:01Z","git_url":"git://github.com/baifendian/Sirius.git","ssh_url":"git@github.com:baifendian/Sirius.git","clone_url":"https://github.com/baifendian/Sirius.git","svn_url":"https://github.com/baifendian/Sirius","homepage":"","size":50357,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":49,"forks":5,"open_issues":49,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/baifendian/Sirius/pulls/130"},"html":{"href":"https://github.com/baifendian/Sirius/pull/130"},"issue":{"href":"https://api.github.com/repos/baifendian/Sirius/issues/130"},"comments":{"href":"https://api.github.com/repos/baifendian/Sirius/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/baifendian/Sirius/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/baifendian/Sirius/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/baifendian/Sirius/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/baifendian/Sirius/statuses/9d644c62c6990d829338b95b8e2bd5b90b611869"}}}}
{"actor":{"display_login":"lsglsf"}}