anvil/utils/clean-parens.sh
Gunther Hagleitner 51af36e000 if(..): --> if ..:
sigh.
2012-01-25 12:59:12 -08:00

5 lines
112 B
Bash
Executable File

for i in `find . -name "*.py"`
do
perl -i -pe "BEGIN{undef $/;} s/if\s*\(\s*(.*?)\s*\)\s*:/if \$1:/sg" $i
done