Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pacman.list_upgrades for new python_shell default. #24490

Merged
merged 2 commits into from Jun 9, 2015

Conversation

aneeshusa
Copy link
Contributor

2015.5 sets the default for python_shell to False, so the pipe used in
pacman.list_upgrades no longer works. The egrep invocation after the
pipe has the effect of skipping the first output line, which is an
informational message. Instead of piping to egrep, we simply skip the
first line of output when parsing for the available upgrades.

2015.5 sets the default for python_shell to False, so the pipe used in
pacman.list_upgrades no longer works. The egrep invocation after the
pipe has the effect of skipping the first output line, which is an
informational message. Instead of piping to egrep, we simply skip the
first line of output when parsing for the available upgrades.
@rallytime rallytime added Minor Change Tests-Passed Platform Relates to OS, containers, platform-based utilities like FS, system based apps labels Jun 9, 2015
thatch45 added a commit that referenced this pull request Jun 9, 2015
Fix pacman.list_upgrades for new python_shell default.
@thatch45 thatch45 merged commit 0247e8d into saltstack:2015.5 Jun 9, 2015
@thatch45
Copy link
Member

thatch45 commented Jun 9, 2015

Very nice! Thanks!

@rallytime
Copy link
Contributor

Fixes #23667

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform Relates to OS, containers, platform-based utilities like FS, system based apps Tests-Passed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants