{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/24490","labels_url":"https://api.github.com/repos/saltstack/salt/issues/24490/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/24490/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/24490/events","html_url":"https://github.com/saltstack/salt/pull/24490","id":86009827,"number":24490,"title":"Fix pacman.list_upgrades for new python_shell default.","user":{"login":"aneeshusa","id":2085567,"avatar_url":"https://avatars.githubusercontent.com/u/2085567?v=3","gravatar_id":"","url":"https://api.github.com/users/aneeshusa","html_url":"https://github.com/aneeshusa","followers_url":"https://api.github.com/users/aneeshusa/followers","following_url":"https://api.github.com/users/aneeshusa/following{/other_user}","gists_url":"https://api.github.com/users/aneeshusa/gists{/gist_id}","starred_url":"https://api.github.com/users/aneeshusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aneeshusa/subscriptions","organizations_url":"https://api.github.com/users/aneeshusa/orgs","repos_url":"https://api.github.com/users/aneeshusa/repos","events_url":"https://api.github.com/users/aneeshusa/events{/privacy}","received_events_url":"https://api.github.com/users/aneeshusa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Minor%20Change","name":"Minor Change","color":"bfe5bf"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Platform%20Mgmt","name":"Platform Mgmt","color":"006b75"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Tests%20Passed","name":"Tests Passed","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-08T03:39:09Z","updated_at":"2015-06-09T15:15:34Z","closed_at":"2015-06-09T15:13:16Z","pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/24490","html_url":"https://github.com/saltstack/salt/pull/24490","diff_url":"https://github.com/saltstack/salt/pull/24490.diff","patch_url":"https://github.com/saltstack/salt/pull/24490.patch"},"body":"2015.5 sets the default for python_shell to False, so the pipe used in\r\npacman.list_upgrades no longer works. The egrep invocation after the\r\npipe has the effect of skipping the first output line, which is an\r\ninformational message. Instead of piping to egrep, we simply skip the\r\nfirst line of output when parsing for the available upgrades."},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/110397828","html_url":"https://github.com/saltstack/salt/pull/24490#issuecomment-110397828","issue_url":"https://api.github.com/repos/saltstack/salt/issues/24490","id":110397828,"user":{"login":"rallytime","id":6547906,"avatar_url":"https://avatars.githubusercontent.com/u/6547906?v=3","gravatar_id":"","url":"https://api.github.com/users/rallytime","html_url":"https://github.com/rallytime","followers_url":"https://api.github.com/users/rallytime/followers","following_url":"https://api.github.com/users/rallytime/following{/other_user}","gists_url":"https://api.github.com/users/rallytime/gists{/gist_id}","starred_url":"https://api.github.com/users/rallytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rallytime/subscriptions","organizations_url":"https://api.github.com/users/rallytime/orgs","repos_url":"https://api.github.com/users/rallytime/repos","events_url":"https://api.github.com/users/rallytime/events{/privacy}","received_events_url":"https://api.github.com/users/rallytime/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T15:15:33Z","updated_at":"2015-06-09T15:15:33Z","body":"Fixes #23667"}}