[Zope-CVS] CVS: Packages/TestScripts - autotester.py:1.10

Chris Withers chrisw@nipltd.com
Fri, 19 Apr 2002 11:31:38 -0400


Update of /cvs-repository/Packages/TestScripts
In directory cvs.zope.org:/tmp/cvs-serv27774

Modified Files:
	autotester.py 
Log Message:
Truncation for when things are really badly funked up.

=== Packages/TestScripts/autotester.py 1.9 => 1.10 ===
         subject += ' OK :-)'
 
+    n = 10000
+    if len(content)>n:
+        content = content[:n] + '\n<truncated>'
+        
     send(address,
          subject,
          content,