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

Multiple modules using ModuleHelper #4674

Merged

Conversation

russoz
Copy link
Collaborator

@russoz russoz commented May 15, 2022

SUMMARY

Replaced raising exception with calling method do_raise() in MH.
Removed the importing of the exception class.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

plugins/modules/packaging/language/cpanm.py
plugins/modules/packaging/language/pipx.py
plugins/modules/packaging/os/snap.py
plugins/modules/system/mksysb.py
plugins/modules/system/xfconf.py

Replaced raising exception with calling method do_raise() in MH.
Removed the importing of the exception class.
Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

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

Looks good, but should have a changelog fragment.

@felixfontein felixfontein added the check-before-release PR will be looked at again shortly before release and merged if possible. label May 15, 2022
@ansibullbot ansibullbot added feature This issue/PR relates to a feature request language module module os packaging plugins plugin (any type) system labels May 15, 2022
@felixfontein felixfontein merged commit 6052776 into ansible-collections:main May 23, 2022
@patchback
Copy link

patchback bot commented May 23, 2022

Backport to stable-5: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-5/6052776de138606fb23d7383476a321cb7ff2e00/pr-4674

Backported as #4713

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

@felixfontein
Copy link
Collaborator

@russoz thanks!

patchback bot pushed a commit that referenced this pull request May 23, 2022
* Multiple modules using ModuleHelper

Replaced raising exception with calling method do_raise() in MH.
Removed the importing of the exception class.

* added changelog fragment

(cherry picked from commit 6052776)
felixfontein pushed a commit that referenced this pull request May 23, 2022
* Multiple modules using ModuleHelper

Replaced raising exception with calling method do_raise() in MH.
Removed the importing of the exception class.

* added changelog fragment

(cherry picked from commit 6052776)

Co-authored-by: Alexei Znamensky <[email protected]>
@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label May 23, 2022
@russoz russoz deleted the use-mh-raise-method branch May 23, 2022 05:49
This was referenced Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request language module module os packaging plugins plugin (any type) system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants