Boost logo

Boost-Commit :

From: dave_at_[hidden]
Date: 2007-12-07 18:34:37


Author: dave
Date: 2007-12-07 18:34:36 EST (Fri, 07 Dec 2007)
New Revision: 41844
URL: http://svn.boost.org/trac/boost/changeset/41844

Log:
Handle empty output correctly.

Text files modified:
   branches/bitten/tools/regression/src/bitten_reports.py | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: branches/bitten/tools/regression/src/bitten_reports.py
==============================================================================
--- branches/bitten/tools/regression/src/bitten_reports.py (original)
+++ branches/bitten/tools/regression/src/bitten_reports.py 2007-12-07 18:34:36 EST (Fri, 07 Dec 2007)
@@ -88,7 +88,7 @@
                 '\n====== COMMAND ======\n',
                 a.command.strip(),
                 '\n====== BEGIN OUTPUT ======\n',
- a.output, a.output[-1] != '\n' and '\n' or ''
+ a.output, a.output[-1:] != '\n' and '\n' or ''
                 '====== END OUTPUT ======\n'))
                             for a in actions ])
             


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk