From 73e639e3b614ad2b784d507ac708246dde02a974 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 10 Oct 2014 05:53:04 -0500 Subject: [PATCH] Fix formatting of 'for' loops --- tools/travis_test.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/travis_test.sh b/tools/travis_test.sh index f79cbc2b..5f062542 100755 --- a/tools/travis_test.sh +++ b/tools/travis_test.sh @@ -50,15 +50,15 @@ fi tools/header.py "Run doc examples" PYTHONPATH="..":$PYTHONPATH -for f in doc/examples/*.py; -do python "$f"; +for f in doc/examples/*.py; do + python "$f"; if [ $? -ne 0 ]; then exit 1; fi done -for f in doc/examples/applications/*.py; -do python "$f"; +for f in doc/examples/applications/*.py; do + python "$f"; if [ $? -ne 0 ]; then exit 1; fi