Update of /cvsroot/pywin32/pywin32
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv27835
Modified Files:
pywin32_postinstall.py
Log Message:
add flush to our post-install 'Tee' object
Index: pywin32_postinstall.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/pywin32_postinstall.py,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** pywin32_postinstall.py 16 Feb 2009 06:32:20 -0000 1.32
--- pywin32_postinstall.py 23 Oct 2010 04:46:17 -0000 1.33
***************
*** 15,18 ****
--- 15,21 ----
self.f.write(what)
tee_f.write(what)
+ def flush(self):
+ self.f.flush()
+ tee_f.flush()
sys.stderr = Tee(sys.stderr)
|