{"action":"opened","number":33,"pull_request":{"url":"https://api.github.com/repos/abantos/bolt/pulls/33","id":78313363,"html_url":"https://github.com/abantos/bolt/pull/33","diff_url":"https://github.com/abantos/bolt/pull/33.diff","patch_url":"https://github.com/abantos/bolt/pull/33.patch","issue_url":"https://api.github.com/repos/abantos/bolt/issues/33","number":33,"state":"open","locked":false,"title":"Fixes handling of return values for shell task","user":{"login":"CurroRodriguez","id":1545531,"avatar_url":"https://avatars.githubusercontent.com/u/1545531?v=3","gravatar_id":"","url":"https://api.github.com/users/CurroRodriguez","html_url":"https://github.com/CurroRodriguez","followers_url":"https://api.github.com/users/CurroRodriguez/followers","following_url":"https://api.github.com/users/CurroRodriguez/following{/other_user}","gists_url":"https://api.github.com/users/CurroRodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/CurroRodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CurroRodriguez/subscriptions","organizations_url":"https://api.github.com/users/CurroRodriguez/orgs","repos_url":"https://api.github.com/users/CurroRodriguez/repos","events_url":"https://api.github.com/users/CurroRodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/CurroRodriguez/received_events","type":"User","site_admin":false},"body":"### Description\r\n`subprocess.call()` returns the status code of the running process, but some times it returns an instance of `subprocess.CompletedProcess`. I added a check to handle it correctly.\r\n","created_at":"2016-07-21T13:13:56Z","updated_at":"2016-07-21T13:13:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7ae720ef1e9d8244cb7ccc867916800c7e30042c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/abantos/bolt/pulls/33/commits","review_comments_url":"https://api.github.com/repos/abantos/bolt/pulls/33/comments","review_comment_url":"https://api.github.com/repos/abantos/bolt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/abantos/bolt/issues/33/comments","statuses_url":"https://api.github.com/repos/abantos/bolt/statuses/856c2d6718ecb098859dbea8cd518ec649092ac5","head":{"label":"abantos:rodrigi/fix-shell-return","ref":"rodrigi/fix-shell-return","sha":"856c2d6718ecb098859dbea8cd518ec649092ac5","user":{"login":"abantos","id":17037492,"avatar_url":"https://avatars.githubusercontent.com/u/17037492?v=3","gravatar_id":"","url":"https://api.github.com/users/abantos","html_url":"https://github.com/abantos","followers_url":"https://api.github.com/users/abantos/followers","following_url":"https://api.github.com/users/abantos/following{/other_user}","gists_url":"https://api.github.com/users/abantos/gists{/gist_id}","starred_url":"https://api.github.com/users/abantos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abantos/subscriptions","organizations_url":"https://api.github.com/users/abantos/orgs","repos_url":"https://api.github.com/users/abantos/repos","events_url":"https://api.github.com/users/abantos/events{/privacy}","received_events_url":"https://api.github.com/users/abantos/received_events","type":"Organization","site_admin":false},"repo":{"id":50967722,"name":"bolt","full_name":"abantos/bolt","owner":{"login":"abantos","id":17037492,"avatar_url":"https://avatars.githubusercontent.com/u/17037492?v=3","gravatar_id":"","url":"https://api.github.com/users/abantos","html_url":"https://github.com/abantos","followers_url":"https://api.github.com/users/abantos/followers","following_url":"https://api.github.com/users/abantos/following{/other_user}","gists_url":"https://api.github.com/users/abantos/gists{/gist_id}","starred_url":"https://api.github.com/users/abantos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abantos/subscriptions","organizations_url":"https://api.github.com/users/abantos/orgs","repos_url":"https://api.github.com/users/abantos/repos","events_url":"https://api.github.com/users/abantos/events{/privacy}","received_events_url":"https://api.github.com/users/abantos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/abantos/bolt","description":"A task automation tool (similart to grunt) for Python","fork":false,"url":"https://api.github.com/repos/abantos/bolt","forks_url":"https://api.github.com/repos/abantos/bolt/forks","keys_url":"https://api.github.com/repos/abantos/bolt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abantos/bolt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abantos/bolt/teams","hooks_url":"https://api.github.com/repos/abantos/bolt/hooks","issue_events_url":"https://api.github.com/repos/abantos/bolt/issues/events{/number}","events_url":"https://api.github.com/repos/abantos/bolt/events","assignees_url":"https://api.github.com/repos/abantos/bolt/assignees{/user}","branches_url":"https://api.github.com/repos/abantos/bolt/branches{/branch}","tags_url":"https://api.github.com/repos/abantos/bolt/tags","blobs_url":"https://api.github.com/repos/abantos/bolt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abantos/bolt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abantos/bolt/git/refs{/sha}","trees_url":"https://api.github.com/repos/abantos/bolt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abantos/bolt/statuses/{sha}","languages_url":"https://api.github.com/repos/abantos/bolt/languages","stargazers_url":"https://api.github.com/repos/abantos/bolt/stargazers","contributors_url":"https://api.github.com/repos/abantos/bolt/contributors","subscribers_url":"https://api.github.com/repos/abantos/bolt/subscribers","subscription_url":"https://api.github.com/repos/abantos/bolt/subscription","commits_url":"https://api.github.com/repos/abantos/bolt/commits{/sha}","git_commits_url":"https://api.github.com/repos/abantos/bolt/git/commits{/sha}","comments_url":"https://api.github.com/repos/abantos/bolt/comments{/number}","issue_comment_url":"https://api.github.com/repos/abantos/bolt/issues/comments{/number}","contents_url":"https://api.github.com/repos/abantos/bolt/contents/{+path}","compare_url":"https://api.github.com/repos/abantos/bolt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abantos/bolt/merges","archive_url":"https://api.github.com/repos/abantos/bolt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abantos/bolt/downloads","issues_url":"https://api.github.com/repos/abantos/bolt/issues{/number}","pulls_url":"https://api.github.com/repos/abantos/bolt/pulls{/number}","milestones_url":"https://api.github.com/repos/abantos/bolt/milestones{/number}","notifications_url":"https://api.github.com/repos/abantos/bolt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abantos/bolt/labels{/name}","releases_url":"https://api.github.com/repos/abantos/bolt/releases{/id}","deployments_url":"https://api.github.com/repos/abantos/bolt/deployments","created_at":"2016-02-03T02:24:09Z","updated_at":"2016-02-22T21:31:39Z","pushed_at":"2016-07-21T13:13:57Z","git_url":"git://github.com/abantos/bolt.git","ssh_url":"git@github.com:abantos/bolt.git","clone_url":"https://github.com/abantos/bolt.git","svn_url":"https://github.com/abantos/bolt","homepage":null,"size":68,"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":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"abantos:develop","ref":"develop","sha":"e64aef8ab6a8a3fa65f29f97b9161d1ff19c1d15","user":{"login":"abantos","id":17037492,"avatar_url":"https://avatars.githubusercontent.com/u/17037492?v=3","gravatar_id":"","url":"https://api.github.com/users/abantos","html_url":"https://github.com/abantos","followers_url":"https://api.github.com/users/abantos/followers","following_url":"https://api.github.com/users/abantos/following{/other_user}","gists_url":"https://api.github.com/users/abantos/gists{/gist_id}","starred_url":"https://api.github.com/users/abantos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abantos/subscriptions","organizations_url":"https://api.github.com/users/abantos/orgs","repos_url":"https://api.github.com/users/abantos/repos","events_url":"https://api.github.com/users/abantos/events{/privacy}","received_events_url":"https://api.github.com/users/abantos/received_events","type":"Organization","site_admin":false},"repo":{"id":50967722,"name":"bolt","full_name":"abantos/bolt","owner":{"login":"abantos","id":17037492,"avatar_url":"https://avatars.githubusercontent.com/u/17037492?v=3","gravatar_id":"","url":"https://api.github.com/users/abantos","html_url":"https://github.com/abantos","followers_url":"https://api.github.com/users/abantos/followers","following_url":"https://api.github.com/users/abantos/following{/other_user}","gists_url":"https://api.github.com/users/abantos/gists{/gist_id}","starred_url":"https://api.github.com/users/abantos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abantos/subscriptions","organizations_url":"https://api.github.com/users/abantos/orgs","repos_url":"https://api.github.com/users/abantos/repos","events_url":"https://api.github.com/users/abantos/events{/privacy}","received_events_url":"https://api.github.com/users/abantos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/abantos/bolt","description":"A task automation tool (similart to grunt) for Python","fork":false,"url":"https://api.github.com/repos/abantos/bolt","forks_url":"https://api.github.com/repos/abantos/bolt/forks","keys_url":"https://api.github.com/repos/abantos/bolt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abantos/bolt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abantos/bolt/teams","hooks_url":"https://api.github.com/repos/abantos/bolt/hooks","issue_events_url":"https://api.github.com/repos/abantos/bolt/issues/events{/number}","events_url":"https://api.github.com/repos/abantos/bolt/events","assignees_url":"https://api.github.com/repos/abantos/bolt/assignees{/user}","branches_url":"https://api.github.com/repos/abantos/bolt/branches{/branch}","tags_url":"https://api.github.com/repos/abantos/bolt/tags","blobs_url":"https://api.github.com/repos/abantos/bolt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abantos/bolt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abantos/bolt/git/refs{/sha}","trees_url":"https://api.github.com/repos/abantos/bolt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abantos/bolt/statuses/{sha}","languages_url":"https://api.github.com/repos/abantos/bolt/languages","stargazers_url":"https://api.github.com/repos/abantos/bolt/stargazers","contributors_url":"https://api.github.com/repos/abantos/bolt/contributors","subscribers_url":"https://api.github.com/repos/abantos/bolt/subscribers","subscription_url":"https://api.github.com/repos/abantos/bolt/subscription","commits_url":"https://api.github.com/repos/abantos/bolt/commits{/sha}","git_commits_url":"https://api.github.com/repos/abantos/bolt/git/commits{/sha}","comments_url":"https://api.github.com/repos/abantos/bolt/comments{/number}","issue_comment_url":"https://api.github.com/repos/abantos/bolt/issues/comments{/number}","contents_url":"https://api.github.com/repos/abantos/bolt/contents/{+path}","compare_url":"https://api.github.com/repos/abantos/bolt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abantos/bolt/merges","archive_url":"https://api.github.com/repos/abantos/bolt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abantos/bolt/downloads","issues_url":"https://api.github.com/repos/abantos/bolt/issues{/number}","pulls_url":"https://api.github.com/repos/abantos/bolt/pulls{/number}","milestones_url":"https://api.github.com/repos/abantos/bolt/milestones{/number}","notifications_url":"https://api.github.com/repos/abantos/bolt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abantos/bolt/labels{/name}","releases_url":"https://api.github.com/repos/abantos/bolt/releases{/id}","deployments_url":"https://api.github.com/repos/abantos/bolt/deployments","created_at":"2016-02-03T02:24:09Z","updated_at":"2016-02-22T21:31:39Z","pushed_at":"2016-07-21T13:13:57Z","git_url":"git://github.com/abantos/bolt.git","ssh_url":"git@github.com:abantos/bolt.git","clone_url":"https://github.com/abantos/bolt.git","svn_url":"https://github.com/abantos/bolt","homepage":null,"size":68,"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":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/abantos/bolt/pulls/33"},"html":{"href":"https://github.com/abantos/bolt/pull/33"},"issue":{"href":"https://api.github.com/repos/abantos/bolt/issues/33"},"comments":{"href":"https://api.github.com/repos/abantos/bolt/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/abantos/bolt/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/abantos/bolt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/abantos/bolt/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/abantos/bolt/statuses/856c2d6718ecb098859dbea8cd518ec649092ac5"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"CurroRodriguez"}}