[py-svn] commit/py: hpk42: more correctly apply patch from Amaury

Bitbucket commits-noreply at bitbucket.org
Wed Apr 6 09:28:03 CEST 2011


1 new changeset in py:

http://bitbucket.org/hpk42/py/changeset/a59069f5f6e1/
changeset:   r2015:a59069f5f6e1
user:        hpk42
date:        2011-04-06 09:27:44
summary:     more correctly apply patch from Amaury
affected #:  1 file (46 bytes)

--- a/py/_io/terminalwriter.py	Wed Apr 06 09:22:21 2011 +0200
+++ b/py/_io/terminalwriter.py	Wed Apr 06 09:27:44 2011 +0200
@@ -84,6 +84,8 @@
         while len(text) > 32768:
             file.write(text[:32768])
             text = text[32768:]
+        if text:
+            file.write(text)
         SetConsoleTextAttribute(handle, oldcolors)
     else:
         file.write(text)

Repository URL: https://bitbucket.org/hpk42/py/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the pytest-commit mailing list