mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
module_helper - implemented classmethod to start the module (#3206)
* module_helper - implemented classmethod to start the module plus minor change * rolled back the __changed__() method * added changelog fragment * Update plugins/module_utils/mh/base.py Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> * no capt Piccards allowed in the base class * removed extra piccards Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
This commit is contained in:
@@ -248,8 +248,7 @@ class CPANMinus(CmdMixin, ModuleHelper):
|
||||
|
||||
|
||||
def main():
|
||||
cpanm = CPANMinus()
|
||||
cpanm.run()
|
||||
CPANMinus.execute()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user