From 6affa2159dea7c1a2292f197f3c27bdcc6ab2f68 Mon Sep 17 00:00:00 2001 From: Sebastian Kuhnert Date: Wed, 2 Sep 2009 08:39:48 +0000 Subject: make error summary less repetitive --- texall | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/texall b/texall index 94aac40..8a6c496 100755 --- a/texall +++ b/texall @@ -884,8 +884,11 @@ def main(arguments): if opts.summary in [ "failures", "both" ] : if errors: print "The following problems occured:" + lasterr="" for f in errors: - print " %s"%f + if f != lasterr: + print " %s"%f + lasterr = f if errors: sys.exit(1) -- cgit v1.2.3