Displaying 1 result from an estimated 1 matches for "init_hook".
Did you mean:
knit_hook
2017 Jun 11
0
Wrote Yum Plugin - got a question about arguments
...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