Revision edf60032 examples/multipoll.py

View differences:

examples/multipoll.py
19 19
    tails, fdToFile, fdToHost = {}, {}, {}
20 20
    for h, outfile in outfiles.iteritems():
21 21
        tail = Popen( [ 'tail', '-f', outfile ],
22
                     stdout=PIPE, stderr=devnull )
22
                      stdout=PIPE, stderr=devnull )
23 23
        fd = tail.stdout.fileno()
24 24
        tails[ h ] = tail
25 25
        fdToFile[ fd ] = tail.stdout

Also available in: Unified diff