{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/pulls/2","id":61596648,"html_url":"https://github.com/zetaops/websocket-tornado-rabbitmq-example/pull/2","diff_url":"https://github.com/zetaops/websocket-tornado-rabbitmq-example/pull/2.diff","patch_url":"https://github.com/zetaops/websocket-tornado-rabbitmq-example/pull/2.patch","issue_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/issues/2","number":2,"state":"open","locked":false,"title":"Used the current python executing the worker.py to spawn subprocess.","user":{"login":"piraz","id":715641,"avatar_url":"https://avatars.githubusercontent.com/u/715641?v=3","gravatar_id":"","url":"https://api.github.com/users/piraz","html_url":"https://github.com/piraz","followers_url":"https://api.github.com/users/piraz/followers","following_url":"https://api.github.com/users/piraz/following{/other_user}","gists_url":"https://api.github.com/users/piraz/gists{/gist_id}","starred_url":"https://api.github.com/users/piraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piraz/subscriptions","organizations_url":"https://api.github.com/users/piraz/orgs","repos_url":"https://api.github.com/users/piraz/repos","events_url":"https://api.github.com/users/piraz/events{/privacy}","received_events_url":"https://api.github.com/users/piraz/received_events","type":"User","site_admin":false},"body":"Also passed to the subprocess.Popen the __file__ reference instead\r\nof \"worker.py\" so we can make shure the script we're spanning\r\nsuprocesses is the same file we're running originally.\r\n\r\nFixes: #1","created_at":"2016-03-03T17:41:20Z","updated_at":"2016-03-03T17:41:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"019dfb623cc54ba78bd91c7b2229d57965e7236a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/pulls/2/commits","review_comments_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/pulls/2/comments","review_comment_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/issues/2/comments","statuses_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/statuses/f5cabc826d905ca5e6a2548924955a7fb79be599","head":{"label":"piraz:master","ref":"master","sha":"f5cabc826d905ca5e6a2548924955a7fb79be599","user":{"login":"piraz","id":715641,"avatar_url":"https://avatars.githubusercontent.com/u/715641?v=3","gravatar_id":"","url":"https://api.github.com/users/piraz","html_url":"https://github.com/piraz","followers_url":"https://api.github.com/users/piraz/followers","following_url":"https://api.github.com/users/piraz/following{/other_user}","gists_url":"https://api.github.com/users/piraz/gists{/gist_id}","starred_url":"https://api.github.com/users/piraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piraz/subscriptions","organizations_url":"https://api.github.com/users/piraz/orgs","repos_url":"https://api.github.com/users/piraz/repos","events_url":"https://api.github.com/users/piraz/events{/privacy}","received_events_url":"https://api.github.com/users/piraz/received_events","type":"User","site_admin":false},"repo":{"id":53068633,"name":"websocket-tornado-rabbitmq-example","full_name":"piraz/websocket-tornado-rabbitmq-example","owner":{"login":"piraz","id":715641,"avatar_url":"https://avatars.githubusercontent.com/u/715641?v=3","gravatar_id":"","url":"https://api.github.com/users/piraz","html_url":"https://github.com/piraz","followers_url":"https://api.github.com/users/piraz/followers","following_url":"https://api.github.com/users/piraz/following{/other_user}","gists_url":"https://api.github.com/users/piraz/gists{/gist_id}","starred_url":"https://api.github.com/users/piraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piraz/subscriptions","organizations_url":"https://api.github.com/users/piraz/orgs","repos_url":"https://api.github.com/users/piraz/repos","events_url":"https://api.github.com/users/piraz/events{/privacy}","received_events_url":"https://api.github.com/users/piraz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/piraz/websocket-tornado-rabbitmq-example","description":"Websocket based bidirectional communication  between Tornado - RabbitMQ - worker processes","fork":true,"url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example","forks_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/forks","keys_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/teams","hooks_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/hooks","issue_events_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/issues/events{/number}","events_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/events","assignees_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/assignees{/user}","branches_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/branches{/branch}","tags_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/tags","blobs_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/statuses/{sha}","languages_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/languages","stargazers_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/stargazers","contributors_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/contributors","subscribers_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/subscribers","subscription_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/subscription","commits_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/contents/{+path}","compare_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/merges","archive_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/downloads","issues_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/issues{/number}","pulls_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/pulls{/number}","milestones_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/milestones{/number}","notifications_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/labels{/name}","releases_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/releases{/id}","deployments_url":"https://api.github.com/repos/piraz/websocket-tornado-rabbitmq-example/deployments","created_at":"2016-03-03T17:14:23Z","updated_at":"2016-03-03T17:14:24Z","pushed_at":"2016-03-03T17:40:58Z","git_url":"git://github.com/piraz/websocket-tornado-rabbitmq-example.git","ssh_url":"git@github.com:piraz/websocket-tornado-rabbitmq-example.git","clone_url":"https://github.com/piraz/websocket-tornado-rabbitmq-example.git","svn_url":"https://github.com/piraz/websocket-tornado-rabbitmq-example","homepage":null,"size":54,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"zetaops:master","ref":"master","sha":"cf7e925a88a4d381512dba9b960b518a667e8d99","user":{"login":"zetaops","id":10046644,"avatar_url":"https://avatars.githubusercontent.com/u/10046644?v=3","gravatar_id":"","url":"https://api.github.com/users/zetaops","html_url":"https://github.com/zetaops","followers_url":"https://api.github.com/users/zetaops/followers","following_url":"https://api.github.com/users/zetaops/following{/other_user}","gists_url":"https://api.github.com/users/zetaops/gists{/gist_id}","starred_url":"https://api.github.com/users/zetaops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zetaops/subscriptions","organizations_url":"https://api.github.com/users/zetaops/orgs","repos_url":"https://api.github.com/users/zetaops/repos","events_url":"https://api.github.com/users/zetaops/events{/privacy}","received_events_url":"https://api.github.com/users/zetaops/received_events","type":"Organization","site_admin":false},"repo":{"id":52604099,"name":"websocket-tornado-rabbitmq-example","full_name":"zetaops/websocket-tornado-rabbitmq-example","owner":{"login":"zetaops","id":10046644,"avatar_url":"https://avatars.githubusercontent.com/u/10046644?v=3","gravatar_id":"","url":"https://api.github.com/users/zetaops","html_url":"https://github.com/zetaops","followers_url":"https://api.github.com/users/zetaops/followers","following_url":"https://api.github.com/users/zetaops/following{/other_user}","gists_url":"https://api.github.com/users/zetaops/gists{/gist_id}","starred_url":"https://api.github.com/users/zetaops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zetaops/subscriptions","organizations_url":"https://api.github.com/users/zetaops/orgs","repos_url":"https://api.github.com/users/zetaops/repos","events_url":"https://api.github.com/users/zetaops/events{/privacy}","received_events_url":"https://api.github.com/users/zetaops/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zetaops/websocket-tornado-rabbitmq-example","description":"Websocket based bidirectional communication  between Tornado - RabbitMQ - worker processes","fork":false,"url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example","forks_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/forks","keys_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/teams","hooks_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/hooks","issue_events_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/issues/events{/number}","events_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/events","assignees_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/assignees{/user}","branches_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/branches{/branch}","tags_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/tags","blobs_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/languages","stargazers_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/stargazers","contributors_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/contributors","subscribers_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/subscribers","subscription_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/subscription","commits_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/contents/{+path}","compare_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/merges","archive_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/downloads","issues_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/issues{/number}","pulls_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/labels{/name}","releases_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/releases{/id}","deployments_url":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/deployments","created_at":"2016-02-26T12:49:43Z","updated_at":"2016-02-27T00:23:36Z","pushed_at":"2016-03-03T17:41:20Z","git_url":"git://github.com/zetaops/websocket-tornado-rabbitmq-example.git","ssh_url":"git@github.com:zetaops/websocket-tornado-rabbitmq-example.git","clone_url":"https://github.com/zetaops/websocket-tornado-rabbitmq-example.git","svn_url":"https://github.com/zetaops/websocket-tornado-rabbitmq-example","homepage":null,"size":59,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/pulls/2"},"html":{"href":"https://github.com/zetaops/websocket-tornado-rabbitmq-example/pull/2"},"issue":{"href":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/issues/2"},"comments":{"href":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/zetaops/websocket-tornado-rabbitmq-example/statuses/f5cabc826d905ca5e6a2548924955a7fb79be599"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}