[Yum-devel] yum todo lists/ideas

Jeremy Katz katzj at redhat.com
Sat Oct 23 16:20:36 UTC 2004


On Fri, 2004-10-22 at 00:51 -0400, seth vidal wrote:
> - the above requires that we get some code in place to dup the output
> file descriptors from the rpm callback and capture their output. This
> _should_ be doable.

This is actually very very very simple :)

f = open("/my/logfile")
ts.scriptFd = f.fileno()
rpm.setLogFile(f)

Jeremy




More information about the Yum-devel mailing list