[CentOS] Wrote Yum Plugin - got a question about arguments
Andreas Benzler
andreas at benzlerweb.deSun Jun 11 21:44:45 UTC 2017
- Previous message: [CentOS] Some file management functions in the right mouse are missing
- Next message: [CentOS] Centos7 on MacBook air 2017 model
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Guys I have written a small yum plugin. My question: How can I convert the arguments to a string to output them inside a hook. I can use many programming languages, but unfortunately no python to understand the documentation properly. http://yum.baseurl.org/api/yum-3.2.26/yum.plugins.ArgsPluginConduit-cla ss.html def init_hook(conduit): conduit.info(2, 'Hello world') conduit.getArgs() InitPluginConduit instance has no attribute 'getArgs' No matter if i put it into pretrans_hook or posttrans_hook. This time i take " ".join(commands). Thanks Andy
- Previous message: [CentOS] Some file management functions in the right mouse are missing
- Next message: [CentOS] Centos7 on MacBook air 2017 model
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list