[Jython-checkins] jython: Flush stdout in applypatches.py so the output makes a little more sense

frank.wierzbicki jython-checkins at python.org
Wed Mar 14 04:09:32 CET 2012


http://hg.python.org/jython/rev/0216ef75e9a7
changeset:   6352:0216ef75e9a7
user:        Alex Grönholm <alex.gronholm at nextday.fi>
date:        Tue Mar 13 18:11:14 2012 -0700
summary:
  Flush stdout in applypatches.py so the output makes a little more sense

files:
  Misc/applypatches.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Misc/applypatches.py b/Misc/applypatches.py
--- a/Misc/applypatches.py
+++ b/Misc/applypatches.py
@@ -23,6 +23,7 @@
         srcpath = os.path.join('CPythonLib', dirpath[8:], realfilename)
         dstpath = srcpath.replace('CPythonLib', 'Lib')
         print '\nCopying %s -> %s' % (srcpath, dstpath) 
+        sys.stdout.flush()
         shutil.copyfile(srcpath, dstpath)
 
         retcode = os.system('patch -p1 -N <%s' % patchpath)

-- 
Repository URL: http://hg.python.org/jython


More information about the Jython-checkins mailing list