fixed print format in popenpoll

This commit is contained in:
Brian O'Connor
2013-09-11 14:45:46 -07:00
parent b605cf74d2
commit 9a73dcad53
+1 -1
View File
@@ -23,7 +23,7 @@ def pmonitorTest( N=3, seconds=10 ):
endTime = time() + seconds
for h, line in pmonitor( popens, timeoutms=500 ):
if h:
print '%s: %s' % ( h.name, line ),
print '<%s>: %s' % ( h.name, line ),
if time() >= endTime:
for p in popens.values():
p.send_signal( SIGINT )