Skip to content

Zypper correct exit code checking - #31508

Merged
cachedout merged 9 commits into
saltstack:2015.8from
mcalmer:zypper-correct-exit-code-checking
Feb 26, 2016
Merged

cachedout merged 9 commits into
saltstack:2015.8from
mcalmer:zypper-correct-exit-code-checking

Conversation

@mcalmer

@mcalmer mcalmer commented Feb 26, 2016

Copy link
Copy Markdown
Contributor

Checking exit code of zypper in the correct way and raising an exception with message
in case of an error

Adapt tests and improve existing tests.
Wrote new test for zypper result checking.

Tests written?

  • Yes
  • No

@mcalmer

mcalmer commented Feb 26, 2016

Copy link
Copy Markdown
Contributor Author

@isbm : please have a look.

Comment thread salt/modules/zypper.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this empty line is needed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it makes the code more readable.

@mcalmer
mcalmer force-pushed the zypper-correct-exit-code-checking branch from e3b9091 to 1425c64 Compare February 26, 2016 12:54
Comment thread salt/modules/zypper.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An empty line maybe can go away?

@isbm

isbm commented Feb 26, 2016

Copy link
Copy Markdown
Contributor

Thanks @mcalmer 👍 LGTM.

cachedout pushed a commit that referenced this pull request Feb 26, 2016
@cachedout
cachedout merged commit 95db870 into saltstack:2015.8 Feb 26, 2016
@cachedout

Copy link
Copy Markdown
Contributor

Thanks, @mcalmer

@mcalmer
mcalmer deleted the zypper-correct-exit-code-checking branch March 1, 2020 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants