svn commit: samba r26516 - in branches/SAMBA_4_0: .
source/scripting/python/subunit
jelmer at samba.org
jelmer at samba.org
Mon Dec 17 23:16:06 GMT 2007
Author: jelmer
Date: 2007-12-17 23:16:05 +0000 (Mon, 17 Dec 2007)
New Revision: 26516
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26516
Log:
Fix line splitting in subunitrun.
Modified:
branches/SAMBA_4_0/
branches/SAMBA_4_0/source/scripting/python/subunit/__init__.py
Changeset:
Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...
Modified: branches/SAMBA_4_0/source/scripting/python/subunit/__init__.py
===================================================================
--- branches/SAMBA_4_0/source/scripting/python/subunit/__init__.py 2007-12-17 22:49:36 UTC (rev 26515)
+++ branches/SAMBA_4_0/source/scripting/python/subunit/__init__.py 2007-12-17 23:16:05 UTC (rev 26516)
@@ -215,14 +215,14 @@
def addError(self, test, error):
"""Report an error in test test."""
self._stream.write("error: %s [\n" % (test.shortDescription() or str(test)))
- for line in self._exc_info_to_string(error, test).split():
+ for line in self._exc_info_to_string(error, test).splitlines():
self._stream.write("%s\n" % line)
self._stream.write("]\n")
def addFailure(self, test, error):
"""Report a failure in test test."""
self._stream.write("failure: %s [\n" % (test.shortDescription() or str(test)))
- for line in self._exc_info_to_string(error, test).split():
+ for line in self._exc_info_to_string(error, test).splitlines():
self._stream.write("%s\n" % line)
self._stream.write("]\n")
More information about the samba-cvs
mailing list