- Allow a library to specified as a command-line source file, not just
in the LIBS construction variable.
+ From Steven Knight:
+
+ - Flush stdout after print so it intermixes correctly with stderr
+ when redirected.
+
RELEASE 0.04 - Wed, 30 Jan 2002 11:09:42 -0600
else:
raise UserError, "No SConstruct file found."
+ class Unbuffered:
+ def __init__(self, file):
+ self.file = file
+ def write(self, arg):
+ self.file.write(arg)
+ self.file.flush()
+ def __getattr__(self, attr):
+ return getattr(self.file, attr)
+
+ sys.stdout = Unbuffered(sys.stdout)
+
sys.path = include_dirs + sys.path
for script in scripts: