On 12/09/2009 05:33 PM, Ales Kozumplik wrote:
+def udev_settle_incremental(): + def run_while_output(cmd, argv): + out = iutil.execWithCapture(cmd, argv, stderr="/dev/null") + while len(out)> 0: + out = iutil.execWithCapture(cmd, argv, stderr="/dev/null") + + timeout = 5; + argv = ["settle"] + argv.append("--timeout=%d" % int(timeout)) + run_while_output("udevadm", argv); +
Oh my bad, this function shouldn't go in the patch --- it was just for testing with the user.
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list