Remove unecessary --repeat option for pep8.

Fixes bug 977489

--repeat became the default in 0.7; since we're now requiring 1.0 or
above, this can go away.

Change-Id: I85ee8ab274594ce96ece6610247dfd8a6f082af5
This commit is contained in:
Rick Harris 2012-04-09 20:43:50 +00:00
parent 7be39f19a0
commit 203d51f0e4

View File

@ -112,13 +112,12 @@ function run_pep8 {
echo "Running pep8 ..."
# Just run PEP8 in current environment
#
pep8_opts="--repeat"
${wrapper} pep8 ${pep8_opts} ${srcfiles}
${wrapper} pep8 ${srcfiles}
}
function run_hacking {
echo "Running hacking compliance testing..."
hacking_opts="--ignore=E202 --repeat"
hacking_opts="--ignore=E202"
${wrapper} python tools/hacking.py ${hacking_opts} ${srcfiles}
}