summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-05-28 16:28:28 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-05-28 16:28:28 +0000
commitd5d9b7253f968b67e9c9a3e6d260a6adf1dee8f9 (patch)
treeaa33f3b250505f2f55e870ea9a48337853fe3e86 /check
parent57d2fc906005e073ba942ce5b89fde3ec1eefece (diff)
parent6375554363c111fda70b7540c3c56a0e9cf1497b (diff)
downloadmorph-d5d9b7253f968b67e9c9a3e6d260a6adf1dee8f9.tar.gz
Merge branch 'liw/kill-bare-except'
Reviewed-by: Richard Maw I, Lars, note that we have an old version of CoverageTestRunner in Baserock. The new version hides the spurious logging messages.
Diffstat (limited to 'check')
-rwxr-xr-xcheck5
1 files changed, 5 insertions, 0 deletions
diff --git a/check b/check
index 9c4e2250..f4391e08 100755
--- a/check
+++ b/check
@@ -126,6 +126,11 @@ then
echo "ERROR: $x has a hashbang" 1>&2
errors=1
fi
+ if grep except: "$x"
+ then
+ echo "ERROR: $x has a bare except:" 1>&2
+ errors=1
+ fi
;;
esac
done