diff --git a/examples/dagrt-fusion.py b/examples/dagrt-fusion.py index 40870293a067bf23ab8225164bc8ccd8b8c6b305..e188438fb4dc54ee41a59607b32ea64a2852009e 100755 --- a/examples/dagrt-fusion.py +++ b/examples/dagrt-fusion.py @@ -72,6 +72,7 @@ OUT_DIR = os.environ.get("OUT_DIR", ".") def open_output_file(filename): if not PAPER_OUTPUT: yield sys.stdout + sys.stdout.flush() else: try: outfile = open(os.path.join(OUT_DIR, filename), "w")