From f6015d829935dd84b94c72eb4561858f9495f9f2 Mon Sep 17 00:00:00 2001 From: Stanislaw Pitucha Date: Thu, 21 Feb 2013 20:01:48 +0000 Subject: Remove function redefinitions A number of tests have never been run due to another function having the same name. Duplicate names have been changed and additionally pyflakes check will now fail in such situations. Also fix ovs ethernet driver test which was incorrect. Change-Id: Icd93528395e65a24194a6ec5dfb8025a820d29b5 --- tools/run_pep8.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/run_pep8.sh b/tools/run_pep8.sh index 80c20a92d..a2a982cdc 100755 --- a/tools/run_pep8.sh +++ b/tools/run_pep8.sh @@ -24,4 +24,4 @@ PLUGINS_PATH=${SCRIPT_ROOT}/plugins/xenserver/xenapi/etc/xapi.d/plugins PYTHONPATH=${PLUGINS_PATH} ${PEP8} ./plugins/xenserver/xenapi \ `find plugins/xenserver/xenapi/etc/xapi.d/plugins -type f -perm +111` -! pyflakes nova/ | grep "imported but unused" +! pyflakes nova/ | grep "imported but unused\|redefinition of function" -- cgit