#!/bin/bash
#  $HeadURL: http://dione.no-ip.org/svn/ade/tags/1.7.6/lib/tests/bin/ADESTDTEST304_python_scripts_dont_use_print.sh $ $LastChangedRevision: 5473 $

#  Detect uncommented calls to print, which is just too inconsistent
#  - see http://www.velocityreviews.com/forums/t335371-print-with-no-newline.html
#  for details. Use sys.<handler>.write("text") instead.
find $ADETEST_MODROOT -type f -name '*.py' -exec egrep -Hn '^[^#]*print' {} \;
