subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1328951 - /subversion/trunk/build/run_tests.py
Date Sun, 22 Apr 2012 19:45:59 GMT
Author: rhuijben
Date: Sun Apr 22 19:45:58 2012
New Revision: 1328951

URL: http://svn.apache.org/viewvc?rev=1328951&view=rev
Log:
* build/run_tests.py
  (_get_term_width): Change fallback default for Windows to avoid overflowing
    to the next line when writing character 80.

Modified:
    subversion/trunk/build/run_tests.py

Modified: subversion/trunk/build/run_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/build/run_tests.py?rev=1328951&r1=1328950&r2=1328951&view=diff
==============================================================================
--- subversion/trunk/build/run_tests.py (original)
+++ subversion/trunk/build/run_tests.py Sun Apr 22 19:45:58 2012
@@ -107,7 +107,10 @@ def _get_term_width():
       cr = None
   if not cr:
     # Default
-    cr = (25, 80)
+    if sys.platform == 'win32':
+      cr = (25, 79)
+    else:
+      cr = (25, 80)
   return int(cr[1])
 
 



Mime
View raw message