| Index: tools/purify/common.py
|
| ===================================================================
|
| --- tools/purify/common.py (revision 10216)
|
| +++ tools/purify/common.py (working copy)
|
| @@ -128,8 +128,9 @@
|
| elif not detach:
|
| for line in p.stdout.readlines():
|
| _print_line(line, False)
|
| - logging.info("flushing stdout")
|
| - p.stdout.flush()
|
| + if sys.platform != 'darwin': # stdout flush fails on Mac
|
| + logging.info("flushing stdout")
|
| + p.stdout.flush()
|
|
|
| logging.info("collecting result code")
|
| result = p.poll()
|
| @@ -331,6 +332,3 @@
|
| except:
|
| logging.warning("unable to delete file %s: %s" % (file,
|
| sys.exc_info()[0]))
|
| -
|
| -
|
| -
|
|
|