Andreas Benzler
2017-Jun-11 21:44 UTC
[CentOS] Wrote Yum Plugin - got a question about arguments
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